SA-MP Forums Archive
[FilterScript] [FS] AI Blinkers - 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] [FS] AI Blinkers (/showthread.php?tid=72210)



[FS] AI Blinkers - Kinetic - 06.04.2009

AI Blinkers

I am pretty sure that nobody has ever done this, I searched the forum, and I have never seen this type of thing on any server... So I thought I would make it

What is it?
This is a simple blinker system that is great for RP.

How does it work?
Just press your look left or look right key on your keyboard (normally q and e). Pressing it once turns your blinker on, pressing it again turns it off.

Also, just like all my other scripts, there is a quick stats section where you can change some variables in the script easily.
pawn Код:
//----[Quick Stats]-------------------------------------------------------------
#define timerspeed 500        //Speed of the timer in milliseconds (1000 = 1 second)
#define blinkerduration 10      //Length of the duration that the blinker will stay on in seconds.
#define rightkey KEY_LOOK_RIGHT   //The key you press to turn the right blinker on
#define leftkey KEY_LOOK_LEFT       //The key you press to turn the left blinker on
//------------------------------------------------------------------------------
Any screens or videos?
A video should do this script justice
AIBlinkers

Download
Quote:
Originally Posted by archived versions
v1
PWN (http://pastebin.com/f3d7bc85a)
AMX (http://www.mediafire.com/?ryy3dm5hoom)

v2 (added b]http://pastebin.com/f7c3219c6[/url])
AMX (http://www.mediafire.com/?jmonwmmzmng)
v3 (id 0 only bug fixed thanks to _[HuN]_Epsilon_)
PWN (http://pastebin.com/f1b490f73)
AMX (http://www.mediafire.com/?2oy5wmcl1nc)


Re: [FS] AI Blinkers - DMSOrg - 06.04.2009

Original, creative. Not quite something I would use but on Roleplay servers these would be useful for tailing people . Good job!


Re: [FS] AI Blinkers - Kinetic - 06.04.2009

Quote:
Originally Posted by ʎυe‾ʎ
Original, creative. Not quite something I would use but on Roleplay servers these would be useful for tailing people . Good job!
Thanks for the comment

Also great for traffic enforcement in RP servers... I might try to see how the red orb looks for the object, but I think thats a lil too big.


Re: [FS] AI Blinkers - 13th - 06.04.2009

Great idea
Don't know what else to say really, would be cool to see more innovative FSes like this.
If you want suggestions then it would be great if it had "Auto-blinker-off" system. Whatever it is really called. You know.. it detects if you finish the turn, turn to opposite side of the blinker, or don't turn at all it would automatically switch the blinker off.


Re: [FS] AI Blinkers - Kinetic - 06.04.2009

Quote:
Originally Posted by 13th
Great idea
Don't know what else to say really, would be cool to see more innovative FSes like this.
If you want suggestions then it would be great if it had "Auto-blinker-off" system. Whatever it is really called. You know.. it detects if you finish the turn, turn to opposite side of the blinker, or don't turn at all it would automatically switch the blinker off.
I will add that, and upload v2 in about 5 minutes. The script will come with a quick stat up at top for how long it will be till the blinker turns off.

EDIT: V2 finished and added to first post. (sorry, I said it would take 5 mins, it took me 8 lol)


Re: [FS] AI Blinkers - Donvalley - 07.04.2009

nice lolz


Re: [FS] AI Blinkers - DMSOrg - 07.04.2009

Quote:
Originally Posted by Kinetic
EDIT: V2 finished and added to first post. (sorry, I said it would take 5 mins, it took me 8 lol)
heh... I'm sure nobody would have a problem with that. It would take about 15 mins for me to code a timer so...


Re: [FS] AI Blinkers - Kinetic - 07.04.2009

Quote:
Originally Posted by ʎυe‾ʎ
Quote:
Originally Posted by Kinetic
EDIT: V2 finished and added to first post. (sorry, I said it would take 5 mins, it took me 8 lol)
heh... I'm sure nobody would have a problem with that. It would take about 15 mins for me to code a timer so...
I was talking to 3 people on AIM too, if that gives you an idea of how fast I script.


Re: [FS] AI Blinkers - sebihunter - 07.04.2009

very nice


Re: [FS] AI Blinkers - DMSOrg - 07.04.2009

Oh! Haha! I just thought that this sent a /me command like "/me turns on his right blinker"! this is really neat!