18.06.2009, 14:48
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.
//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)
{
Kick(playerid);
}
}