We return to where you were - 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)
+--- Thread: We return to where you were (
/showthread.php?tid=563861)
We return to where you were -
bigboy81 - 17.02.2015
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]);
}
Re: We return to where you were -
Golf - 17.02.2015
freeze players few secondes
https://sampwiki.blast.hk/wiki/Function:...erControllable
Re: We return to where you were -
bigboy81 - 17.02.2015
I know for freeze metod's but why freeze player in default samp interior ?
the player must not deteriorate through such interior
Re: We return to where you were -
Golf - 17.02.2015
antoher metods
PHP код:
PlayerInfo[playerid][pPos_z] + 2 /// or 1.0 / 3.0
Re: We return to where you were -
arakuta - 17.02.2015
You have to set the player interior to 0.
Re: We return to where you were -
bigboy81 - 17.02.2015
Quote:
Originally Posted by arakuta
You have to set the player interior to 0.
|
take me where I was but I do not read so fast interior