05.05.2013, 18:25
I'm getting the Argument type mismatch (argument 1) error on this piece of code, specifically the "SendClientMessageToAll line. I can't figure out what's wrong with it.
Can anyone tell me what's wrong with it? Any help is appreciated, thanks.
Код:
CMD:O(playerid, params[]) { new sendername[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "(( %s: %s ))", sendername, params); SendClientMessageToAll(COL_LIGHTBLUE, string); return 1; }