[DiscordArchive] function inside chathandler?
[DiscordArchive] function inside chathandler?
Archived author: sn8si • Posted: 2024-06-08T05:36:20.998000+00:00
Original source
haven't used it
Archived author: sn8si • Posted: 2024-06-08T05:36:47.813000+00:00
Original source
opening a bank, teleporting, etc
Archived author: nixxi • Posted: 2024-06-08T05:36:53.661000+00:00
Original source
cant see the player and also never used a chathandler should i point a player to it?
tring command = ".OpenBank";Archived author: sn8si • Posted: 2024-06-08T05:37:28.112000+00:00
Original source
std:
tring command = ".OpenBank";
ChatHandler(player->GetSession()).HandleCommand(command.c_str());
Archived author: sn8si • Posted: 2024-06-08T05:37:28.511000+00:00
Original source
try
Archived author: nixxi • Posted: 2024-06-08T05:37:32.678000+00:00
Original source
also its a bool so its just to check right?
arseCommands ( std:
tring_view text )
Archived author: nixxi • Posted: 2024-06-08T05:37:35.898000+00:00
Original source
bool ChatHandler:
arseCommands ( std:
tring_view text )
Archived author: nixxi • Posted: 2024-06-08T05:38:17.120000+00:00
Original source
saw a static bool misc_commandscript::HandleCommandsCommand ( ChatHandler * handler )
Archived author: sn8si • Posted: 2024-06-08T05:39:16.719000+00:00
Original source
Assuming 'player' is a pointer
Archived author: nixxi • Posted: 2024-06-08T05:39:52.595000+00:00
Original source
will try the first one