02.06.2018, 15:23
When they join an event, use
PHP код:
new Float:LastPosx[MAX_PLAYERS],Float:LastPosY[MAX_PLAYERS],Float:LastPosZ[MAX_PLAYERS];
GetPlayerPos(playerid, LastPosX[playerid],LastPosY[playerid],LastPosZ[playerid]);
//and then on exit the event, use:
SetPlayerPos(playerid, LastPosX[playerid],LastPosY[playerid],LastPosZ[playerid]);
//and set the LastPos variables to 0.

