Road Block Command - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Road Block Command (
/showthread.php?tid=356506)
Road Block Command -
AdvancedMapper - 03.07.2012
Hey guys I'm losing my mind i have forgotten how to simply make a ROADBLOCK command!!!
If someone can please tell me how for the VX-RP 2 Script! And if you can make it for group id 1 and idk the moddle but just the same old roadblock cones or something for now
--Note: I usually know this--
Re: Road Block Command -
Vince - 03.07.2012
GetXYInFrontOfPlayer
GetPlayerFacingAngle
CreateObject
AttachObjectToObject
Last one is not necessary, but I find it a convenient way to setup multiple "child" objects relative to the parent object without having to mess with sine/cosine and stuff and like that. Not to mention that the whole structure can be moved as a whole should you so decide.
Re: Road Block Command -
AdvancedMapper - 04.07.2012
Ok thanks it worked