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



[FS]Car Alarm - Mikep - 04.01.2009

..::[FS]Car Alarm::..
Features:

• When you enter a locked car, it will beep the times defines in MAX_BEEPS
• Definable volume
• /Alarm command for RCON admins
• Alarm beeps reset when vehicle is respawned
• Define how many seconds between beeps (1 second is realistic)
• Alarm(vehicleid,toggle); function
• Beeps heard by you and other players that are near
• Admins can type /alarmend to stop the alarm

Download:

Version 2 Mirror 1 (deLUX click n host)
Version 2 Mirror 2 (Rapidshare)
Version 2 Mirror 3 (Pastebin)
Version 2 Mirror 4 (Canadian Pastebin)
Version 2 Mirror 5 (Sendspace)
Version 2 Mirror 6 (Mediafire)

Installation:

Compile alarmsys.pwn and place the .amx file into your filterscripts folder.
Add "alarmsys" to your filterscripts line. Example: "filterscripts adminspec vactions alarmsys"

Information:

Any ideas or bug reports welcome!

Enjoy!


Re: [FS]Car Alarm - Serbish - 04.01.2009

Haha, this is nice.


Re: [FS]Car Alarm - Mikep - 04.01.2009

Thanks.

I made it when I bored and I just thought i'd share it ;d


Re: [FS]Car Alarm - Serbish - 04.01.2009

Quote:
Originally Posted by Mikep
Thanks.

I made it when I bored and I just thought i'd share it ;d
For a bored filterscript it's nice.


Re: [FS]Car Alarm - AlExAlExAlEx - 04.01.2009

This will happen when you enter ANY car?..this sould have a buy/sell sistem to be more realistic


Re: [FS]Car Alarm - Mikep - 04.01.2009

Thats where you come in.

You use the Alarm() function.

I could make it into an include I suppose..


Re: [FS]Car Alarm - Flo_White - 04.01.2009

good job


Re: [FS]Car Alarm - ғαιιοцт - 04.01.2009

why
Код:
if(i != driverid) PlayerPlaySound(i, 1147, vehX,vehY,vehZ);
if(i == driverid) PlayerPlaySound(i, 1147, 0.0,0.0,0.0);
? sounds are payed everywhere I think

nice script


Re: [FS]Car Alarm - Tannz0rz - 05.01.2009

Is there a possibility that this can be fashioned to where whenever someone enters the car it will go off?


Re: [FS]Car Alarm - tristanh - 05.01.2009

how can I find my car id?