/siren not creating object specified +rep help please.
#1

Hello guys, so I have a /siren cmd:
PHP код:
                    VehSirenState[vehicleid] = 1;
                    
VehSirenObject[vehicleid] = CreateDynamicObject(1864610.010.010.0000);
AttachDynamicObjectToVehicle(VehSirenObject[vehicleid], vehicleid0.225000,0.524999,0.375000,0.000000,0.000000,0.000000); Blah blah blah 
Note that this command worked good before I added an interior with mapping to the gamemode.

This command (it's not all in there) will activate, create and attach that object "18646", the lil siren. The problem is that when I use /siren, a random object gets spawned and attached to the vehicle, and it's so annoying. I thought it could be a problem with interiors or something, but I have no idea. Any help is appreciated, and I'll +rep for sure if you can help me. Thank you
Reply


Messages In This Thread
/siren not creating object specified +rep help please. - by insus100 - 13.05.2018, 00:58
Re: /siren not creating object specified +rep help please. - by RoboN1X - 13.05.2018, 06:37
Re: /siren not creating object specified +rep help please. - by insus100 - 13.05.2018, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)