Save GetPlayerPos ?
#2

You can use PVars or just regular arrays.

Here's an example with PVars.
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);

SetPVarFloat(playerid,"X",x);
SetPVarFloat(playerid,"Y",y);
SetPVarFloat(playerid,"Z",z);
And then when you set the position.
pawn Код:
SetPlayerPos(playerid,GetPVarFloat(playerid,"X"),GetPVarFloat(playerid,"Y"),GetPVarFloat(playerid,"Z"));
Reply


Messages In This Thread
Save GetPlayerPos ? - by marinov - 19.02.2011, 01:18
Re: Save GetPlayerPos ? - by Backwardsman97 - 19.02.2011, 01:22
Re: Save GetPlayerPos ? - by [L3th4l] - 19.02.2011, 01:23
Re: Save GetPlayerPos ? - by marinov - 19.02.2011, 01:24

Forum Jump:


Users browsing this thread: 2 Guest(s)