mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-09 17:08:06 +00:00
make it compile
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
#include "FvGuildCreate.h"
|
||||
#include "GameMessages.h"
|
||||
#include "Amf3.h"
|
||||
|
||||
// Server script for Guild Master NPC in FV area.
|
||||
// This NPC will react to a user interaction and display
|
||||
// the guild creation screen.
|
||||
|
||||
void FvGuildCreate::OnUse(Entity* self, Entity* user) {
|
||||
AMFStringValue* value = new AMFStringValue();
|
||||
value->SetStringValue("ToggleGuildCreate");
|
||||
AMFArrayValue args;
|
||||
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), value->GetStringValue(), &args);
|
||||
delete value;
|
||||
AMFArrayValue args;
|
||||
GameMessages::SendUIMessageServerToSingleClient(user, user->GetSystemAddress(), "ToggleGuildCreate", args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user