18.07.2017, 02:36
how to add vehicle component when the gamemode enter......
Images;
This two vehicles are modified when the gamemode enter :/
Images;
This two vehicles are modified when the gamemode enter :/
new objectid = CreateObject(...); new vehicleid = GetPlayerVehicleID(playerid); AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); //Or this new objectid = CreateObject(...); new vehicleid = CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, -1, -1, 60); AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);