Help me
#7

When they join an event, use

PHP код:
new Float:LastPosx[MAX_PLAYERS],Float:LastPosY[MAX_PLAYERS],Float:LastPosZ[MAX_PLAYERS];
GetPlayerPos(playeridLastPosX[playerid],LastPosY[playerid],LastPosZ[playerid]);
//and then on exit the event, use:
SetPlayerPos(playeridLastPosX[playerid],LastPosY[playerid],LastPosZ[playerid]);
//and set the LastPos variables to 0. 
Reply


Messages In This Thread
Help me - by nguyenthanhdanhsamp - 02.06.2018, 10:14
Re: Help me - by Verc - 02.06.2018, 11:25
Re: Help me - by HoNEYKISS - 02.06.2018, 12:16
Re: Help me - by nguyenthanhdanhsamp - 02.06.2018, 12:58
Re: Help me - by HoNEYKISS - 02.06.2018, 13:30
Re: Help me - by nguyenthanhdanhsamp - 02.06.2018, 13:44
Re: Help me - by GTLS - 02.06.2018, 15:23
Re: Help me - by nguyenthanhdanhsamp - 02.06.2018, 17:18
Re: Help me - by CuTi - 02.06.2018, 17:40
Re: Help me - by TheOmnitrix - 02.06.2018, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)