08.12.2010, 16:19
Put in the top of your GameMode/Filterscript:
Put In the OnPlayerDeath
Put in the OnPlayerSpawn:
I hope that i have helped
pawn Код:
static Float:X[MAX_PLAYERS]; //Static Variables can save the data after a public ends.
static Float:Y[MAX_PLAYERS];
static Float:Z[MAX_PLAYERS];
Put In the OnPlayerDeath
pawn Код:
GetPlayerPos(playerid,X[playerid],Y[playerid],Z[playerid]);
Put in the OnPlayerSpawn:
pawn Код:
SetPlayerPos(playerid,X[playerid],Y[playerid],Z[playerid]);
I hope that i have helped