problem with public onplayerupdate thing
#1

Код:
C:\DOCUME~1\Hardsop\Desktop\APOKAL~1\Server\GAMEMO~1\mygm.pwn(123) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
i added this

public OnPlayerUpdate(playerid)
{
if(HealthAmount <= 20)
{
SetPlayerPos(playerid, 0.0, 0.0, 0.0);
}
return 1;
}

and i have these on my defines
Код:
new Float:HealthAmount
GetPlayerHealth(playerid, HealthAmount);
Reply


Messages In This Thread
problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:06
Re: problem with public onplayerupdate thing - by Nero_3D - 21.04.2010, 19:22
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:25
Re: problem with public onplayerupdate thing - by CAR - 21.04.2010, 19:44
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:55
Re: problem with public onplayerupdate thing - by CAR - 21.04.2010, 19:58
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)