Little Help plz

I tried to code a feature for Hydra wars such that, when we are flying below a certain Z co-ords it should kick us from hydra, but i am wondering how to do it, can anyone of u help me plz.

Something like this
pawn Код:
//in some timer
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
if(GetPlayerVehicleID(playerid) == 525) //or w/e id of hydra is
  if(Pos[2] < 50)
Just a rough overveiw, not teh actual code.

so i should repeat this stuff for every second?

and btw u are v helpful thanx

Yeah, use SetTimerEx to set a timer for one second with a playerid param.

Forum Jump:

Users browsing this thread: