SA-MP Forums Archive
GetPlayerHight - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPlayerHight (/showthread.php?tid=447469)



GetPlayerHight - Mafiaday - 30.06.2013

Hi,

I was thinking i have a Turf System but how can you make it so that if the player is about 20 meters in the air you cannot execute the command?

Thanks


Re: GetPlayerHight - jamesbond007 - 30.06.2013

use map andreas plugin or include.. look for it

then check if (player Z - groundZ) > 20 //means hes in the air