Only a question
#4

Quote:
Originally Posted by Mean
Посмотреть сообщение
Or, if you want to save it on disconnect, save it with Dini
I knew that,but i already made it,thx anyway


Quote:
Originally Posted by rjjj
Посмотреть сообщение
Put in the top of your GameMode/Filterscript:

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
Thanks man,that's what i've searched for!
Reply


Messages In This Thread
Only a question - by SkizzoTrick - 08.12.2010, 15:56
Re: Only a question - by rjjj - 08.12.2010, 16:19
Re: Only a question - by Mean - 08.12.2010, 16:41
Re: Only a question - by SkizzoTrick - 08.12.2010, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)