Is it possible?
#3

Quote:
Originally Posted by BiG_Sm0k3
it is automatic in samp , just do /save [something that reminds you what you saved]
Theres that, but if you mean saving a position for a player during his session then resetting him to it within a single position then create a float for X Y Z then create a command to write the players position to the floats using GetPlayerPos, for example.

Код:
new Float:x;
new Float:y;
new Float:z;

if(strcmp, "/savepos", cmdtext)
{
GetPlayerPos(playerid, x, y, z);
return 1;
}

if(strcmp, "/goback", cmdtext)
{
SetPlayerPos(playerid, x, y, z);
return 1;
}
Thats not exact, but in theory it should work, haven't scripted in a while and felt liek I would help. If a player uses /savepos he can then go back there by using /goback.

Wazza
Reply


Messages In This Thread
Is it possible? - by pierhs - 25.07.2009, 21:26
Re: Is it possible? - by HuRRiCaNe - 25.07.2009, 21:32
Re: Is it possible? - by NeRoSiS - 25.07.2009, 21:36
Re: Is it possible? - by pierhs - 26.07.2009, 04:56

Forum Jump:


Users browsing this thread: 1 Guest(s)