SA-MP Forums Archive
AttachObjectToVehicle - 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: AttachObjectToVehicle (/showthread.php?tid=330498)



AttachObjectToVehicle - TouhGear - 01.04.2012

Case Closed, now i understand.


Re: AttachObjectToVehicle - Jonny5 - 01.04.2012

id use this callback and do a check if that slot is inuse if so remove the siren

https://sampwiki.blast.hk/wiki/OnVehicleSpawn


Re: AttachObjectToVehicle - TouhGear - 01.04.2012

Case Closed, now i understand.


Re: AttachObjectToVehicle - Jonny5 - 01.04.2012

yes but you an if to make sure it had a siren in the first place


pawn Код:
if(gCar[s2][c_MehSiren])



Re: AttachObjectToVehicle - TouhGear - 01.04.2012

Its works thanks very much.