SA-MP Forums Archive
[Include] rPos - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] rPos (/showthread.php?tid=436177)



rPos - Rimmon - 10.05.2013


rPos is an include with some functions about player position
This is my first include so i thought to make something easy



Functions:
SetPlayerPosEx - Set the player position , interior ,virtualworld + message (optional)
SetVehiclerPosEx - Set the vehicle position , interior , virtualworld
SavePlayerPos - Save the player position,interior,virtualworld
LoadPlayerPos - Load the saved position , interior , virtualworld


Download rPos.inc Fixed



Re: rPos - Lordzy - 10.05.2013

Not bad, though I guess it was more better to add some more stuffs and make it as an include. Else, to post on 'Useful Functions'.


Re: rPos - Rimmon - 10.05.2013

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
Not bad, though I guess it was more better to add some more stuffs and make it as an include. Else, to post on 'Useful Functions'.
Thanks , tell me what functions would you like i add?
I have no ideas


Re: rPos - CreativityLacker - 10.05.2013

Start by adding a pastebin, and then by making your parameters OPTIONAL

optional parameters -

suppose i just want to set the POSITION of the player, and nothing else, then what?
or suppose i just want to set the virtual world, interior and give him a message, and keep his position as it is, then what?
that's what functions are for, to reduce my work at that point of time.