09.04.2013, 15:09
Top of your script, underneath of includes:
It's called global variables. But we have to use array for each player, so it's gonna be like:
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.
pawn Код:
new Float:PosX, Float:PosY, Float:PosZ, Float:PosA,
Interior, VirtualWorld;
pawn Код:
new Float:PosX[MAX_PLAYERS], Float:PosY[MAX_PLAYERS], Float:PosZ[MAX_PLAYERS], Float:PosA[MAX_PLAYERS],
Interior[MAX_PLAYERS], VirtualWorld[MAX_PLAYERS];
Check on Wiki.SA-MP how each function works and what parameters does it including.
