12.08.2013, 23:18
SA-MP Spike Strips
Brief description
(spike strip, traffic spikes, tire shredders, one-way traffic treadles, stingers, stop sticks, tire deflation device)
This is an include version of SA-MP Spike Strips. If you wish to be enlightened on what this is, please see the original topic.
Download
http://pastebin.com/8M0GgrFj
Changelog
Thanks topawn Код:/*
* Changelog
*
* 13/8/2013
* ~ shortened the prefix from "SpikeStrip" to "Stinger"
* ~ added a config option to enable/disable the OnSpikeStripPopTire callback
* ~ added a config option to enable/disable the Streamer plugin support
*
* 5/7/2013:
* ~ changed parameter order in OnSpikeStripPopTire callback
* ~ fixed a bug where OnSpikeStripPopTire callback wasn't getting called
* ~ fixed incorrect arguments being passed to SetTimer function
* ~ added a function named SpikeStrip_DeleteAll that deletes all spike strips
*
* 4/7/2013:
* ~ removed the auto-adjustment of the Z coordinate when creating a spike strip
* ~ added a callback named OnSpikeStripPopTire that is called when a tire is popped
* ~ added a function named SpikeStrip_IsValid that checks the validity of a spike strip
* ~ added a function named SpikeStrip_SetGhost that toggles a player's ghost mode
* ~ added a function named SpikeStrip_IsGhost that checks a player's ghost mode
*
* 3/7/2013:
* ~ initial release
*/
****** - y_iterate/foreach
Kalcor & SA-MP Team - SA-MP
MP2 - Valuable suggestions