[!] Adding objects to the server automatic vehicles..
#2

Either under OnVehicleSpawn() when the vehicles respawn, or instantly under a command or w/e:
PHP код:
// Put your values in place of objid, off_x/y/z, rot_x/y/z
for (new 1MAX_VEHICLESv++)
{
    if (
GetVehicleModel(v) != 411) continue;
    
AttachObjectToVehicle(objidvoff_xoff_yoff_zrot_xrot_yrot_z);

Reply


Messages In This Thread
[!] Help AttachObjectToVehicle - by ProRakNet - 25.02.2016, 19:18
Re: [!] Adding objects to the server automatic vehicles.. - by Virtual1ty - 25.02.2016, 19:45
Re: [!] Adding objects to the server automatic vehicles.. - by ProRakNet - 25.02.2016, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)