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

I add AttachObjectToVehicle objects for server all infernus(411) vehicles automatic how do i add ?
Please help..
Reply
#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
#3

Very thanks man.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)