05.03.2014, 15:58
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:
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
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
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