07.11.2012, 15:51
Hello! How to make neon light with AttachObjectToVehicle of infernus with these coordinates 2524.84,2377.20,4.21,270,5,5 ?
new objectid = CreateObject(...); // ID of the object replaced by the dots
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(objectid, vehicleid, FLOAT:offsetX, FLOAT:offsetY, FLOAT:offsetZ, RotX, RotY, RotY);
new objectid = CreateObject(18648);
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(objectid, 411, 2524.84,2377.20,4.21,270,5,5);
AttachObjectToVehicle(objectid, vehicleid, 2524.84,2377.20,4.21,270,5,5);