[FilterScript] [M]Position Saver - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [M]Position Saver (
/showthread.php?tid=245849)
///////////// -
STMatt - 02.04.2011
//////////////////
Re: [M]Position Saver -
gamer931215 - 02.04.2011
Couldnt you release it a day earlyer ? i had to make one yesterday :P
It looks pretty nice, but here some ideas to optimise it:
You might also want to change this in the english version:
pawn Code:
print("|| Pozicija Sistem by Matt Loaded ||");
And make it save the locations for the next time the player connects again!
And to avoid bugs if a player rejoins you might want to add this:
pawn Code:
public OnPlayerDisconnect(playerid)
{
DeletePVar(playerid,"Xpos");
DeletePVar(playerid,"Ypos");
DeletePVar(playerid,"Zpos");
return 1;
}
And add the source to
www.pastebin.com , much easyer for us to check the code and use it

!
Re: [M]Position Saver -
[ProX]BlueFire - 02.04.2011
nice

its ur first script?
Re: [M]Position Saver -
STMatt - 02.04.2011
This is my 2nd or 3rd , I don't really know , sorry I'm not so good at scripting.
But I'm trying to learn more
Thank you both.