SA-MP Forums Archive
[FilterScript] Simple Road Spike FS - 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] Simple Road Spike FS (/showthread.php?tid=268838)



Simple Road Spike FS - Elorreli - 13.07.2011

Simple spike strip FS

I threw this script together a few hours ago for my server and though It might be nice releasing It, I believe I'm using a more efficent method than most Road spike FS'ses out there, most of them uses timers or OnPlayerUpdate while I'm using an invisible pickup to pop your tires (plus an object of course).

The system Is simple and you can add more to it if you want to, currently there is one command that allows you to place/remove your spike strip, each player can have one spike strip placed at the same time. And oh yeah, there probably Is a more suitable object for this, couldn't find it.

Credits to ****** that made sscanf and to whoever made dcmd.

(I've included sscanf to the pastebin)

Screenshot



Pastebin

http://pastebin.com/8X8gnw1R

Disclaimer

I know a lot of you troll around in threads talking about how everyone should use zcmd and scanff2, I simlpy like dcmd a lot more and It's not noticeable faster and I can't seem to get scanff2 to work on my computer, so please don't bring it up.


Re: Simple Road Spike FS - Basicz - 13.07.2011

lol, I don't really like the object
Nice script....

( The sscanf code is more longer than the code itself )


Re: Simple Road Spike FS - Kingunit - 13.07.2011

True, the object looks weird. There is a other spike i think.


Re: Simple Road Spike FS - [KMA]DlennartD - 14.07.2011

I've seen better spikes


Re: Simple Road Spike FS - Marko :) - 22.07.2012

Nice


Re: Simple Road Spike FS - Captain_Mani - 22.07.2012

There is a Spike object...


Re: Simple Road Spike FS - Dj_Atomica - 23.07.2012

C:\Users\*****\Desktop\****\filterscripts\Srike.pw n(25) : error 017: undefined symbol "dcmd_rsp"
C:\Users\*****\Desktop\****\filterscripts\Srike.pw n(330) : warning 203: symbol is never used: "dcmd_spike"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: Simple Road Spike FS - Edward d - 28.10.2012

is this police use only or all players ? i kinda like how it looks ppl wont see it and hit it lol