17.03.2010, 15:45
C:\Users\NASTIE\Desktop\ExtremePower\filterscripts \Checkpoint.pwn(703) : error 002: only a single statement (or expression) can follow each "case"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I made a mechanic on server and when i press compile i get this one error
lines
Line 703 dont exist max lines are: 702
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I made a mechanic on server and when i press compile i get this one error
lines
Код:
if(dialogid == 5512 && response) { switch(listitem) { case 0: { new MaxPlayers = GetMaxPlayers(); for(new forplayerid; forplayerid < MaxPlayers; forplayerid++) { if(!IsPlayerConnected(forplayerid)) continue; new VehicleID = GetPlayerVehicleID(forplayerid), Float:Health; if(VehicleID) { GetVehicleHealth(VehicleID, Health); if(Health < 500) return SendClientMessage(playerid, 0xFF0005FF, "Helti su ti preko 50 posto."); { if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, 0xFF0005FF, "Nemas dovoljno novaca!"); GivePlayerMoney(playerid, -100); new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid,1000.0); SendClientMessage(playerid,0x00FF0AFF,"Popravio si svoje vozilo i platio 100$."); } } } return 1; }