OnPlayerCommandPerformed
#1

Hey , I need some help with :
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{

It give me a error :
Код:
D:\Vlad Stuff\ASTA\gamemodes\RNSGM.pwn(12489) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")
Why ? :O3
Reply
#2

That callback is (normally) used by zcmd. Have you included zcmd?
Reply
#3

Put a code in,ex:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessageEx(playerid, COLOR_WHITE, "SERVER: Unknown command. Please use /help to list all available commands.");
    return 1;
}
Reply
#4

Oh , thank's man , you're awesome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)