Return To The First Position
#9

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Try something like:

pawn Код:
//AT THE TOP
new Float:posX, Float:posY, Float:posZ, Float:facingA;
 
//ON ENTER
GetPlayerPos(playerid, posX, posY, posZ);
GetPlayerFacingAngle(playerid, facingA);

//ON EXIT
SetPlayerPos(playerid, posX, posY, posZ);
SetPlayerFacingAngle(playerid, facingA);
Too slow.
Better to get GetPlayerState, may he wants to teleport to his saved position with vehicle.
Reply


Messages In This Thread
Return To The First Position - by misho1 - 06.11.2011, 09:50
Re: Back To The First Position - by Stigg - 06.11.2011, 09:52
Re: Back To The First Position - by Kingunit - 06.11.2011, 09:52
Re: Return To The First Position - by misho1 - 06.11.2011, 10:01
Re: Return To The First Position - by Kostas' - 06.11.2011, 10:11
Re: Return To The First Position - by misho1 - 06.11.2011, 10:14
Re: Return To The First Position - by Kostas' - 06.11.2011, 10:17
Re: Return To The First Position - by Stigg - 06.11.2011, 10:18
Re: Return To The First Position - by Kostas' - 06.11.2011, 10:20
Re: Return To The First Position - by Stigg - 06.11.2011, 10:23

Forum Jump:


Users browsing this thread: 4 Guest(s)