11.07.2016, 08:08
hi i got this errors today and i can't fix them, So help me please
i will show you the line :
the line error is the final bracket. under "return true;"
HELP please
Код:
C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "PickedClass" C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "gPlayerClass" C:\Users\infogenie\Desktop\Addictive Trainers 2.5.4\filterscripts\Untitled.pwn(303) : warning 203: symbol is never used: "gTeam"
Код:
CMD:snipertdm(playerid, params[]) { SetPlayerHealth(playerid, 99999.0); ResetPlayerWeapons(playerid); SendClientMessage(playerid, COLOR_AQUA, "You have anti-spawn kill protection for 5 seconds."); SetTimerEx("EndAntiSpawnKill", 5000, false, "i", playerid); SetPlayerVirtualWorld(playerid, 0); switch( GetPlayerTeam( playerid ) ) { case TEAM_FARMERS: { SendClientMessage( playerid, COLOR_GREEN, "You are now playing in the Farmers Team." ); label7[playerid] = Create3DTextLabel("FARMERS TEAM PLAYER",TEAM_FARMERS, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label7[playerid], playerid, 0.0, 0.0, 0.4); } case TEAM_ALIENS: { SendClientMessage( playerid, COLOR_AQUA, "You are now playing in the Aliens Team." ); label7[playerid] = Create3DTextLabel("ALIENS TEAM PLAYER",TEAM_ALIENS, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label7[playerid], playerid, 0.0, 0.0, 0.4); } } return true; }
HELP please