14.11.2012, 05:31
This?
Im getting this errors;
Код:
public OnPlayerText(playerid, text[]) { new textv2[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof (name)); if(PlayerMuted[playerid] == 1) { GameTextForPlayer(playerid,"~n~~r~ERROR:~n~~y~You are muted!", 1000, 1); return 0; } else { format(textv2, sizeof (textv2), "[%d]: %s", name, playerid, text); SendPlayerMessageToAll(playerid, textv2); return 0; } return 1; }
Код:
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(242) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.