Quote:
Originally Posted by Finn
pawn Код:
public ImortalPerson() { new Float:HP, vehicleid;
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { if(!IsPlayerConnected(playerid)) continue;
GetPlayerHealth(playerid, HP);
if(HP < 100.0) { SetPlayerHealth(playerid, 100.0); } if(IsPlayerInAnyVehicle(playerid)) { vehicleid = GetPlayerVehicleID(playerid);
GetVehicleHealth(vehicleid, HP);
if(HP < 1000.0) { SetVehicleHealth(vehicleid, 1000.0); } } } return 1; }
pawn Код:
public OnGameModeInit() { SetTimer("ImortalPerson", 1000, true); }
|
errors :
Код:
C:\Users\Mihailo\Desktop\Script Test Server\gamemodes\gm.pwn(1519) : warning 235: public function lacks forward declaration (symbol "ImortalVehicle")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
what does this error mean?