SA-MP Forums Archive
[FilterScript] DropSpikeStrip FS [good for a race server] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] DropSpikeStrip FS [good for a race server] (/showthread.php?tid=453556)



DropSpikeStrip FS [good for a race server] - andrewgrob - 25.07.2013

DropSpikeStrip by AndrewGrob

you can edit it. but leave credits

the SpikeStrip will always drop behind any vehicle [dosent matter which angle you are facing]

the spikestrip is pickupable only when in a vehicle,

ive set the damage to 10 [Setting tires to 15 will pop them all]

please remove or change the value

pawn Код:
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 10);
ive added a get player score function...

please remove or change the value

pawn Код:
if(GetPlayerScore(playerid)<5) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need 5 scorepoints to drop a spike strip!");
SetPlayerScore(playerid,GetPlayerScore(playerid)-5);
Picture



picture 2



Download: i have attached the pwn & amx files

updated: added DestroyPickup(Pickup1); it removes the spikestrip after a player has popped there tyres


Re: DropSpikeStrip FS [good for a race server] - [UG]Daniel - 25.07.2013

Good job
9/10
Keep it up!


Re: DropSpikeStrip FS [good for a race server] - andrewgrob - 25.07.2013

Quote:
Originally Posted by [UG]Daniel
Посмотреть сообщение
Good job
9/10
Keep it up!
thx daniel