If You Fall off? read V.V
#1

i made a custom map i want it when a person falls they go to specate like they cant play untill next gamemode
Reply
#2

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
}
Reply
#3

THX you saved my life
Reply
#4

Lol no problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)