PDA

View Full Version : We return to where you were


bigboy81
17/02/2015, 08:45 PM
I made a system to bring me back to the last place where I was, but if I was in a default interior that me back in the interior but I then go under, not obvious to me how this interior to solve.

if(PlayerInfo[playerid][pPos_x] > 50 && PlayerInfo[playerid][pPos_y] > 50 && PlayerInfo[playerid][pPos_z] < 50)
{
SafeSetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
}

Golf
17/02/2015, 08:51 PM
freeze players few secondes
http://wiki.sa-mp.com/wiki/Function:TogglePlayerControllable

bigboy81
17/02/2015, 08:53 PM
I know for freeze metod's but why freeze player in default samp interior ?
the player must not deteriorate through such interior

Golf
17/02/2015, 08:55 PM
antoher metods

PlayerInfo[playerid][pPos_z] + 2 /// or 1.0 / 3.0

arakuta
17/02/2015, 08:57 PM
You have to set the player interior to 0.

bigboy81
17/02/2015, 08:58 PM
You have to set the player interior to 0.

take me where I was but I do not read so fast interior