27.03.2010, 02:28
(
Last edited by V1ceC1ty; 03/06/2012 at 07:06 PM.
)
Spikes
What does it do?With a simple press of a button of your choice(default 'C') you can place realistic road Spikes where ever you want.
Also includes an automatic spike destroy timer at 60 seconds so theres not spikes placed everywhere, and also anti-spike spam so people can only place one spike each every 60 seconds.
Video
Not the best filming but I did it controlling the players both at the same time.
How to use
Download the file(below).
Extract and paste the .amx into your filterscripts folder.
Add 'Spikes' to your server.cfg
Editing the Spike key/Destroy time:
Find these two lines in the FS
pawn Code:
#define DestroyTime 60000
#define MAKESPIKE KEY_CROUCH
Change the 60000 to your choice of time in ms. 1000 = 1 second, 10000 = 10 seconds etcetera.
Download
http://www.solidfiles.com/d/h5T6/
Bugs
Only know of some compiling bugs which are 3 tag mismatches on the UpdateVehicleDamageStatus line, but works perfectly fine.
Not a bug but just a heads up, the message "Spikes Placed!" will come up twice if you leave the key as 'C' because you press it twice to stand up.
Any more bugs please reply I'll try fix them