/rcon say other text and new colour [HELP!]
#6

Hey OKStyle, I got this error:
pawn Код:
C:\Users\Ilic\Desktop\GoGoGo druga verzija\GoGoGo server\gamemodes\rlg.pwn(2603) : error 035: argument type mismatch (argument 1)
Used this:
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;
}
hmm?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)