SA-MP Forums Archive
[Include] SetPlayerPosEx... - With Interior Streaming! - 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] SetPlayerPosEx... - With Interior Streaming! (/showthread.php?tid=515514)



SetPlayerPosEx... - With Interior Streaming! - Abagail - 26.05.2014

SetPlayerPosEx - With Interior Streaming!
Ahoy. I got half way through making a tutorial on how you should teleport & stream players but I thought I'd make an include for it. This also allows you to set a player's coordinates, facing angle, virtual world, and interior with one line of code. A video demonstration is below,

[ame]www.youtube.com/watch?v=q8sk2a-eEbw[/ame]
This video shows how I am teleported & streamed into an interior. The map shown is not mine. It can be found on SA:MP Forums.

Functions:
pawn Код:
SetPlayerPosEx(playerid, Float: X, Float: Y, Float: Z, Float: Angle, VW = 0, Interior = 0, delay=0);
Download:
Pastebin - Click Here
Solidfiles - Click Here

I hope you find this useful. I haven't found any bugs, how-ever if you spot one please report it so it can be fixed in the next version!


Re: SetPlayerPosEx... - With Interior Streaming! - iRaiDeN - 26.05.2014

Simple & Nice.


Re: SetPlayerPosEx... - With Interior Streaming! - Lordzy - 26.05.2014

There is no purpose in posting this on include section because there's already sticky topics called "Useful Snippets" & "Useful Functions".


Re: SetPlayerPosEx... - With Interior Streaming! - Hwang - 26.05.2014

No need to include, gamemode can be added.


Re: SetPlayerPosEx... - With Interior Streaming! - Abagail - 26.05.2014

Well I didn't really think this would be good for useful snipets. Thanks for the feedback, though.