Jump to content


Air horn script


  • This topic is locked This topic is locked
126 replies to this topic

#41 aleksanderwoods

aleksanderwoods

    Captain

  • Members
  • 179 posts
  • Gender:Male
  • Location:Bergen, Norway

Posted 11 July 2008 - 08:32 PM

The airhorn dosen't play when I try to use it.

Signature removed. Please use a smaller image.


#42 james23222000

james23222000

    Senior Captain

  • Members
  • 275 posts
  • Gender:Male
  • Location:London
  • Interests:Rugby,<br />Football,<br />Guitar,<br />Being active,<br />Emergency series,<br />Modding

Posted 11 July 2008 - 09:08 PM

No, it's not usefull. I would prefer a whole menu where you can between sirens (yelp, horn, wail etc..), but that's only possible in missionscripts.



How come?

Posted Image

#43 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 11 July 2008 - 09:28 PM

Because freeplay doesn't use an active script.

#44 Guest_andrewonice_*

Guest_andrewonice_*
  • Guests

Posted 11 July 2008 - 09:45 PM

Or try this, a shorter version (not tested!). :)

I used your version and it works perfectly.

#45 Guest_cop ford_*

Guest_cop ford_*
  • Guests

Posted 11 July 2008 - 09:54 PM

can i get help with this air horn. my problem is that i don't know how to add the horn and how to add it to the script and how to get the horn on police cars can i get some help please

#46 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 11 July 2008 - 10:01 PM

can i get help with this air horn. my problem is that i don't know how to add the horn and how to add it to the script and how to get the horn on police cars can i get some help please


Why did you make a NEW TOPIC for your question? Anways, I've merged your post with this topic.
Everything is explained here. It's not hard, just take your time.

#47 aleksanderwoods

aleksanderwoods

    Captain

  • Members
  • 179 posts
  • Gender:Male
  • Location:Bergen, Norway

Posted 11 July 2008 - 10:39 PM

Yeay! I work perfectly now :D

Signature removed. Please use a smaller image.


#48 Guest_cop ford_*

Guest_cop ford_*
  • Guests

Posted 12 July 2008 - 12:04 AM

i still don't get this

#49 CrownVictoriaCop

CrownVictoriaCop

    Lieutenant

  • Members
  • 25 posts

Posted 12 July 2008 - 07:11 PM

I installed the long version, and it works fine. However, the command name comes up as "Vcmdhorn" instead of "Air horn" or something like that.

#50 Newfoundking

Newfoundking

    The Real Slim Shady

  • Moderator
  • 7,253 posts
  • Gender:Male
  • Location:Newfoundland

Posted 12 July 2008 - 08:46 PM

thats because it is a vehicle command horn. I geuss its easier to identify the LA mod ones that way

Wanna play multiplayer without any of the commitment? Emergency Planet hosts casual multiplayer to all its members! Contact me for more information

 

Executive Director: EMP Gulag

 

Do you have a warning that you want to go away, or are you facing another punishment you don't want? Contact me for the NEW alternative!


#51 Guest_cop ford_*

Guest_cop ford_*
  • Guests

Posted 12 July 2008 - 10:21 PM

can someone help me please!!!

#52 Guest_francismori7_*

Guest_francismori7_*
  • Guests

Posted 12 July 2008 - 11:17 PM

I installed the long version, and it works fine. However, the command name comes up as "Vcmdhorn" instead of "Air horn" or something like that.

To fix this, open this file:
Mods\Los Angeles Mod v1.6\Lang\en\command.xml
Add this line before "</strings>":
<string name="VcmdHorn">Urgent Air Horn</string>

That's all.
Thanks.

#53 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 13 July 2008 - 09:32 PM

Thanks francis. I am glad to hear more people put their time in learning to mod (my mod). :)

#54 Guest_francismori7_*

Guest_francismori7_*
  • Guests

Posted 13 July 2008 - 10:18 PM

Thanks francis. I am glad to hear more people put their time in learning to mod (my mod). :)

I am wanting to, I just made two new commands; Accelerate and Brake.

Your cars can go faster on patrols :)

It uses GetSpeed and SetSpeed for a Vehicle variable.

Is there a list of ALL functions available? I mean, like, v.SetSpeed is a function.

Thanks.

BTW: Can you set my display name to [SAP]Francis?
Also, I bought a copy of IPB. If you want me to give the serial, I can ;)

#55 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 13 July 2008 - 10:37 PM

The display name is the same as your member name.
If I change your member name, your login name changes too.
Is that what you want?

#56 thossi69

thossi69

    Captain

  • Members
  • 153 posts
  • Gender:Male

Posted 13 July 2008 - 11:03 PM

BTW: Can you set my display name to [SAP]Francis?
Also, I bought a copy of IPB. If you want me to give the serial, I can ;)


From the SAP server on SA-MP?
Signature removed by staff after not complying to warning PM. You may replace this text with another signature providing that signature does not violate the signature rules (max size is 180 by 500 pixels and 450 kb).

#57 Guest_francismori7_*

Guest_francismori7_*
  • Guests

Posted 13 July 2008 - 11:06 PM

From the SAP server on SA-MP?

Off course its me. LOL.

And, yes please Hoppah.

What about the IPB bought version and the functions list?

#58 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 13 July 2008 - 11:33 PM

please Hoppah.


Done, you also got an email about this. :)
Ask Stan about the IPB thingy, he's the webmaster.

#59 Guest_[SAP]Francis_*

Guest_[SAP]Francis_*
  • Guests

Posted 14 July 2008 - 04:38 AM

Done, you also got an email about this. :)
Ask Stan about the IPB thingy, he's the webmaster.

Thank you, I will contact him via PM. But, you didn't answer my question about the "list". Do you use a specific editor? I use NotePad+, not ++.

#60 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 14 July 2008 - 04:07 PM

Thank you, I will contact him via PM. But, you didn't answer my question about the "list". Do you use a specific editor? I use NotePad+, not ++.


There is only this. It's German, but the codes are in English, so it should be understandable.
http://emergency4spe...tegorie:Scripts
You can find 'GetSpeed' under GameObject. Note: That website IS NOT a tutorial.