23.10.2013, 14:17
Hey OKStyle, I got this error:
Used this:
hmm?
pawn Код:
C:\Users\Ilic\Desktop\GoGoGo druga verzija\GoGoGo server\gamemodes\rlg.pwn(2603) : error 035: argument type mismatch (argument 1)
pawn Код:
if(strcmp(cmdtext, "/asay", true) == 0)
{
if(!IsPlayerAdmin(playerid)) return 1;
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
new string[144];
format(string, sizeof(string), "Admin %s: %s", PlayerName, cmdtext[6]);
SendClientMessageToAll(string, 0x66FF00FF);
return 1;
}