Compare heigths doesn't work
#1

Hi,
I'm trying to make a code to detect if a player has fallen under a stunt.
This is what I've got now;
Код:
public OnPlayerUpdate(playerid)
{
	new Float:x;
	new Float:y;
	new Float:z;
	GetPlayerPos(playerid,x,y,z);
	printf("lolmao %f",z);
	if(z < Games[currentGame][minimumHeight])SendMsg(playerid,"CHCK"); 
	return 1;
}
Thanks
Reply


Messages In This Thread
Compare heigths doesn't work - by Nameless303 - 19.08.2010, 16:30
Re: Compare heigths doesn't work - by FUNExtreme - 19.08.2010, 16:34
Re: Compare heigths doesn't work - by Nameless303 - 19.08.2010, 16:43
Re: Compare heigths doesn't work - by FUNExtreme - 19.08.2010, 16:45
Re: Compare heigths doesn't work - by Nameless303 - 19.08.2010, 18:48
Re: Compare heigths doesn't work - by Cameltoe - 19.08.2010, 18:54
Re: Compare heigths doesn't work - by FUNExtreme - 19.08.2010, 19:22
Re: Compare heigths doesn't work - by Nameless303 - 19.08.2010, 22:15
Re: Compare heigths doesn't work - by Nameless303 - 19.08.2010, 22:17
Re: Compare heigths doesn't work - by Nameless303 - 20.08.2010, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)