Object help
#1

What object id or name is that: its a white small bridge and in size of the tunnel...



Another think i need help:



How to make it go up slowly with RotY... i mean like Pay N Spray, and btw what its sound on Pay N Spray (PlayPlayerSound function)
Note: the gate is close on the start
Codes:
Код:
Open gate:
MoveDynamicObject(GarageGateStatus, 2037.09961, -1840.7998, 16.6, 0, 90, 0); //OPEN

Close gate:
MoveDynamicObject(GarageGateStatus, 2037.09961, -1840.7998, 14.6, 0, 0, 0); //CLOSE
+REP !!
Reply
#2

BUMP
Reply
#3

First of all the parameters of MoveDynamicObject arent true it should be:
MoveDynamicObject(gate name...,X,Y,Z,speed)
And you cant control the Rotx and rotz and roty by MoveDynamicObject,i prefer making like when you are near it it or type a command it goes up and the same for closing..
So to make it go slowly use:
pawn Код:
MoveDynamicObject(GarageGateStatus, 2037.09961, -1840.7998, 16.6, 2); //open

                MoveDynamicObject(GarageGateStatus, 2037.09961, -1840.7998, 14.6, 2); //close
and you can get the sounds here:
https://sampwiki.blast.hk/wiki/SoundID
and to get the bridge id Write in ******:Mta download
download it and there you can search for objects search for Bridge and you will find it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)