SA-MP Forums Archive
[FilterScript] [FS] Positions - 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] [FS] Positions (/showthread.php?tid=139532)



[FS] Positions - aircombat - 05.04.2010

Info :
Lines : 320
Commands : /savepos [Name] ,, /getpos ,, /goto [X] [Y] [Z] ..
================================================== ========================================
Download :
Pwn + Amx :
================================================== ========================================
Instructions :
1 Put Positions.pwn and Positions.amx In Filterscripts Folder
2 Go To Scriptfiles And Create A Folder Called "Positions"
3 You're Done
================================================== ========================================


Re: [FS] Positions - Winded - 05.04.2010

Looks good, with this its much easier to do teleports than the original /save command, right?


Re: [FS] Positions - aircombat - 05.04.2010

Quote:
Originally Posted by Winded
Looks good, with this its much easier to do teleports than the original /save command, right?
its easier than /save as the savedpositions.txt is a bit messed up


Re: [FS] Positions - Torran - 05.04.2010

Quote:
Originally Posted by [AC
Etch ]
Quote:
Originally Posted by Winded
Looks good, with this its much easier to do teleports than the original /save command, right?
the original /save need to open the debug for it , so u can save ur position on custom maps but /savepos u can do it in-game
You can use /save ingame..


Re: [FS] Positions - aircombat - 05.04.2010

but its a bit messed in savedpositions.txt


Re: [FS] Positions - Torran - 05.04.2010

How is it?
Works fine for me.


Re: [FS] Positions - Winded - 05.04.2010

Quote:
Originally Posted by [AC
Etch ]
but its a bit messed in savedpositions.txt
No it isnt, if your in a vehicle, it will save the vehicle ID:
AddStaticVehicle([Vehicle ID your in], [X], [Y], [Z], [Angle], [Vehicle Color 1], [Vehicle Color 2]);

So you can add it straight to your OnGameModeInit() or OnFilterScriptInit()

And on foot it adds a player class:
AddPlayerClass([Skin you have], [X], [Y], [Z], [Angle], [Weapons...]);

So you can just copy the x y z and angle coordinates to use them in some other function, e.g. SetPlayerPos
It isnt so messed up


Re: [FS] Positions - XRVX - 05.04.2010

/save is easier but nice script man


Re: [FS] Positions - Joe_ - 05.04.2010

Half the code is not even needed.


Re: [FS] Positions - [MWR]Blood - 05.04.2010

Good job!