timer, and attach - 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: timer, and attach (
/showthread.php?tid=598569)
timer, and attach -
Karolukas123 - 14.01.2016
Hey, can some one make example how make if i attached trailer and time runs out trailer destroy
(Timer i made, but how make destroy system for trailer)
Re: timer, and attach -
Eth - 14.01.2016
if timer runs out:
pawn Код:
new vehicleid = GetPlayerVehicle(playerid);
new TrailerID = GetVehicleTrailer(vehicleid);
DestroyVehicle(TrailerID);