SERVER: Unknown Command but the command appears
#7

pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
    if(!success )
        return SendClientMessage( playerid, COLOR_GREY, "Your new unknown command text" );
    return 1; //OnPlayerCommandPerformed requires a value to be returned - sorry i didn't say that earlier
}
Replace the text there with what you want it to return. This only works perfectly if you ONLY have ZCMD and only a GameMode, and not any FilterScripts.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)