29.03.2010, 08:18
Код:
if(CurrentMenu == nogomet2) { switch(row) { case 0: { new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); { format(string,sizeof string,"%s se prikljucio nogometu na strani plavog teama ",name); SetPlayerSkin(playerid,154); SetPlayerPos(playerid,1316.1793,2183.9863,10.8203); } case 1: { new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); { format(string,sizeof string,"%s se prikljucio nogometu na strani crvenog teama ",name); SetPlayerSkin(playerid,97); SetPlayerPos(playerid,1317.5258,2113.0247,10.8203); } } } return 1; }
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(704) : warning 215: expression has no effect
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(704) : error 001: expected token: ";", but found ":"
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(704) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(704) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.