26.06.2013, 19:49
Help with this code
new objectid = CreateObject(10245,0,0,0,0,0,0,80);
new vehicleid = 433;
AttachObjectToVehicle(objectid, vehicleid, -540.9130, -497.3527, 26.0530, 0.0000, 0.0000, 0.0000);
For starters I want to attach the object ID 10245 to the top of my car, and I want the car to be at -540.9130, -497.3527, 26.0530, 0.0000, 0.0000, 0.0000, how would I do it and what function should I put the code under? This is really confusing me please be detailed too and explain
new objectid = CreateObject(10245,0,0,0,0,0,0,80);
new vehicleid = 433;
AttachObjectToVehicle(objectid, vehicleid, -540.9130, -497.3527, 26.0530, 0.0000, 0.0000, 0.0000);
For starters I want to attach the object ID 10245 to the top of my car, and I want the car to be at -540.9130, -497.3527, 26.0530, 0.0000, 0.0000, 0.0000, how would I do it and what function should I put the code under? This is really confusing me please be detailed too and explain