SA-MP Forums Archive
edit attached vehicle object - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: edit attached vehicle object (/showthread.php?tid=514242)



edit attached vehicle object - n00el - 20.05.2014

PHP код:
new veh;
    new 
objectid = CreateObject(18646, 0, 0, 0, 0.0, 0.0, 0);
    
veh = GetPlayerVehicleID(playerid);
    
AttachObjectToVehicle(objectid, veh, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
    
EditObject(playerid, objectid); 
its not good.. any idea to edit attachedvehicle object?