public OnVehicleSpawn(vehicleid){GetVehiclePos(vehicleid,VehicleX[vehicleid],VehicleY[vehicleid],VehicleZ[vehicleid]);AttachObjectToVehicle(19308, 552, 0.027499, -2.970020, 0.349999, 0.000001, -10.050001, 89.444953); //Object Model: 19308 | }
CMD:cucc(playerid) {new Float:X, Float:Y, Float:Z;new objectid = CreateObject(19308, X, Y, Z, 0.0, 0.0, 0.0);new vehicleid = GetPlayerVehicleID(playerid);GetVehiclePos(vehicleid, X, Y, Z);AttachObjectToVehicle(objectid, vehicleid, 0.027499, -2.970020, 0.349999, 0.000001, -10.050001, 89.444953);return 1;}
CMD:cucc(playerid) { new Float:X, Float:Y, Float:Z; new vehicleid = GetPlayerVehicleID(playerid); GetVehiclePos(vehicleid, X, Y, Z); new objectid = CreateObject(19308, X, Y, Z, 0.0, 0.0, 0.0); AttachObjectToVehicle(objectid, vehicleid, 0.027499, -2.970020, 0.349999, 0.000001, -10.050001, 89.444953); return 1;}