PAWN CRASH
#1

When i add SendClientMessageToAll(-1, string); , like this:
pawn Код:
new
        string[64],
        name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    switch(reason)
    {
        case 0: format(string, sizeof string, "{FFFFFF}%s {CCCCCC}has left the server. .:{FFFFFF}(Timeout){CCCCCC}:.", name);
        case 1: format(string, sizeof string, "{FFFFFF}%s {CCCCCC}has left the server. .:{FFFFFF}(Leaving){CCCCCC}:.", name);
        case 2: format(string, sizeof string, "{FFFFFF}%s {CCCCCC}has left the server. .:{FFFFFF}(Kicked/Banned){CCCCCC}:.", name);
        SendClientMessageToAll(-1, string);
    }
Pawn can't compile and crashes o.o help me pls
Reply


Messages In This Thread
PAWN CRASH - by MiGu3X - 14.02.2013, 19:09
Re: PAWN CRASH - by bensmart469 - 14.02.2013, 19:12
Re: PAWN CRASH - by gtakillerIV - 14.02.2013, 19:12
Respuesta: PAWN CRASH - by MiGu3X - 14.02.2013, 19:16
Re: PAWN CRASH - by gtakillerIV - 14.02.2013, 19:22

Forum Jump:


Users browsing this thread: 2 Guest(s)