i need Help with player pos. REP ++
#10

Top of your script, underneath of includes:

pawn Код:
new Float:PosX, Float:PosY, Float:PosZ, Float:PosA,
    Interior, VirtualWorld;
It's called global variables. But we have to use array for each player, so it's gonna be like:

pawn Код:
new Float:PosX[MAX_PLAYERS], Float:PosY[MAX_PLAYERS], Float:PosZ[MAX_PLAYERS], Float:PosA[MAX_PLAYERS],
    Interior[MAX_PLAYERS], VirtualWorld[MAX_PLAYERS];
Now you have to go to yours "/pause" command and use functions which names I given you in previous post(s) (Get) and store values to the global arrays from above. Then you have to read Global Arrays values in "/back" command with functions from previous post(s) as well (Set).

Check on Wiki.SA-MP how each function works and what parameters does it including.
Reply


Messages In This Thread
i need Help with player pos. REP ++ - by Configuration - 09.04.2013, 12:27
Re: i need Help with player pos. REP ++ - by ScripteRMKD - 09.04.2013, 12:31
Re: i need Help with player pos. REP ++ - by Configuration - 09.04.2013, 12:33
Re: i need Help with player pos. REP ++ - by Riddick94 - 09.04.2013, 12:41
Re: i need Help with player pos. REP ++ - by Configuration - 09.04.2013, 12:48
Re: i need Help with player pos. REP ++ - by Riddick94 - 09.04.2013, 13:26
Re: i need Help with player pos. REP ++ - by Configuration - 09.04.2013, 15:04
Re: i need Help with player pos. REP ++ - by woot - 09.04.2013, 15:08
Re: i need Help with player pos. REP ++ - by Configuration - 09.04.2013, 15:09
Re: i need Help with player pos. REP ++ - by Riddick94 - 09.04.2013, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)