error 035: argument type mismatch (argument 2)
#5

Just use SendClientMessage(playerid, COLOR, "Message");
Example:
On top of your script...
pawn Код:
#define COLOR_WHITE 0xFFFFFFAA
Then inside on player command text...
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/help",cmdtext ,true ,5) == 0)
    {
        SendClientMessage(playerid, COLOR_WHITE, "This is a test server,we only have /rf and /kill scripted manually");
        return 1;
    }
    return 0; // Returns : "SERVER: Uknown command" else nothing.
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)