If You Fall off? read V.V - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: If You Fall off? read V.V (
/showthread.php?tid=151350)
If You Fall off? read V.V -
w00tNew - 30.05.2010
i made a custom map i want it when a person falls they go to specate like they cant play untill next gamemode
Re: If You Fall off? read V.V -
Grim_ - 30.05.2010
Just find what the lowest Z coordinate of your map is, then if they go below that value, then eliminate them from that game, until the next one starts.
pawn Код:
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
if(Pos[2] < "lowest Z coordinate in map")
{
// Eliminate from game
}
Re: If You Fall off? read V.V -
w00tNew - 30.05.2010
THX you saved my life
Re: If You Fall off? read V.V -
Grim_ - 30.05.2010
Lol no problem.