public EngineBreak(targetid, playerid) { new sendername[MAX_PLAYER_NAME]; new Float:vHealth; GetPlayerName(playerid, sendername, sizeof(sendername)); GetVehicleHealth(GetPlayerVehicleID(targetid),vHealth); if(IsPlayerInAnyVehicle(targetid)) if(vHealth < 450) { if(!engineOn[GetPlayerVehicleID(playerid)]) { SendClientMessage(playerid, COLOR_GREEN, "How The Fuck Did Your Car Break With The Engine Off??"); TogglePlayerControllable(playerid, false); } else { engineOn[GetPlayerVehicleID(playerid)] = false; TogglePlayerControllable(playerid, false); SendClientMessage(playerid, COLOR_GREEN, "Your Engine is Broken, Call a mechanic /service mechanic!"); SendClientMessage(playerid, COLOR_GREEN, "Use /extcar to get out!"); return true; ) } }
C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\gamemodes\WC-RP.pwn(28711) : error 025: function heading differs from prototype C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\gamemodes\WC-RP.pwn(28733) : warning 225: unreachable code C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\gamemodes\WC-RP.pwn(28733) : warning 217: loose indentation C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\gamemodes\WC-RP.pwn(28733) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\gamemodes\WC-RP.pwn(28764) : error 030: compound statement not closed at the end of file (started at line 28714)
error 025: function heading differs from prototype |
warning 225: unreachable code |
warning 217: loose indentation |