0.3e RC4 Clickable Textdraws Feature + Camera Functions (Example+Commentary) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Screenshots and Videos (
https://sampforum.blast.hk/forumdisplay.php?fid=21)
+--- Thread: 0.3e RC4 Clickable Textdraws Feature + Camera Functions (Example+Commentary) (
/showthread.php?tid=327614)
0.3e RC4 Clickable Textdraws Feature + Camera Functions (Example+Commentary) -
[HLF]Southclaw - 21.03.2012
Hey, this is a short video showing an example of what the new Textdraw functions do!
The commanda I use are /setselection and /cancelselection these just call
SelectTextDraw and
CancelSelectTextDraw. Under
OnPlayerClickTextDraw I just set it to hide the Map textdraw when it's clicked (Used a simple bit boolean array to determine whether it's shown or not)
[ame="http://www.youtube.com/watch?v=jmB3N3QQTQs"]http://www.youtube.com/watch?v=jmB3N3QQTQs[/ame]
I'm the British Neil Goldman sounding dude and my friend is Зağatay, he sounds like FPS Russia so that's awesome!
This other video is just a short example of the camera functions and how they can be angled very nicely and pivoted around a single point to create awesome looking cameras for racing or drift videos. The same method can be used on foot to use in deathmatches or trickjumping/parkour etc!
[ame="http://www.youtube.com/watch?v=0aIG2QnWEcQ"]http://www.youtube.com/watch?v=0aIG2QnWEcQ[/ame]
The gamemode used in the videos is my open source project, available here:
http://code.******.com/p/hellfire-samp-script/.
If you want to have a look at how it's done the bar I click at the bottom is '
infobar' (I really need to update my naming conventions!) the map that appears is '
txtMapViewer' most of the code and commands are at the 'OnPlayerClickTextDraw' callback!
Enjoy