SA-MP Forums Archive
a 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a car alarm?... (/showthread.php?tid=136659)



a car alarm?... - FujiNNN - 26.03.2010

is it possible to do a siren script like.. if some one entering a car that is not his the vehicle's lights (2 back's and the 2 front's)
will be lighted and unlighted every second in 1 minute.

is it possible?... please create one guys....


Re: a car alarm?... - Steven82 - 26.03.2010

Use sound functions and all the resoruces for this would be on the wiki.

And by the way yes it would be very possible. Like when you enter a car owned, or a PD, FD, EMS, etc.

http://wiki.sa-mp.com


Re: a car alarm?... - FujiNNN - 26.03.2010

Quote:
Originally Posted by Steven82
Use sound functions and all the resoruces for this would be on the wiki.

And by the way yes it would be very possible. Like when you enter a car owned, or a PD, FD, EMS, etc.

http://wiki.sa-mp.com
yeah dude..

can someone create one?.. for all the rest of us


Re: a car alarm?... - Steven82 - 26.03.2010

EDIT:

Was being a douche and know am editing this because i said something very rude.


Re: a car alarm?... - -Rebel Son- - 26.03.2010

ONTOPIC: ive seen it done before, although im not sure how to create one,


OFFTOPIC: Steven dont be a douchebag, he just asked for a code.


Re: a car alarm?... - Steven82 - 30.03.2010

I know i have been a douch latly i have been in some bad moods. But know i am ready to go. And i am sorry dude.


Re: a car alarm?... - Lilcuete - 30.03.2010

Well i have found the fuction right here SOUND_SWEETS_HORN

PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);


Re: a car alarm?... - Steven82 - 30.03.2010

Quote:
Originally Posted by Frank_Martinez
Well i have found the fuction right here SOUND_SWEETS_HORN

PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
Nice it works. But i need to know how to repeat? anyone know that?