Jump to content

MTA:SA General Use Scripts | Final Version!


Tommis

Recommended Posts

on *:SIGNAL:mta.text:{
 if (hello isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day)
 }
 elseif (lol isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe)
 }
}

Link to comment
  • Replies 382
  • Created
  • Last Reply

Top Posters In This Topic

on *:SIGNAL:mta.text:{
 if (hello isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day)
 }
 elseif (lol isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe)
 }
}

tx

så if i wnat to add like haha

it would be

on *:SIGNAL:mta.text:{
 if (hello isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day)
 }
 elseif (lol isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe)
 }
 elseif (haha isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,hoho!,3,something!,4,hehe)
 }
}

Link to comment

In the file it look like this

on *:SIGNAL:mta.command: {
 if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, !
 elseif (!Hello == $3) mta.text $1 Hello world!
 elseif (!Suck == $3) mta.text $1 You suck man!
 elseif (!Looser == $3) mta.text $1 Haha looser!
 elseif (!Lucky == $3) mta.text $1 Lucky bastard!
 elseif (!You == $3) mta.text $1 You can do it!
 elseif (!Dead == $3) mta.text $1 You are so dead!
 elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar!
 elseif (!Rille == $3) mta.text $1 Tar kort på killar!
 elseif (!Hedning == $3) mta.text $1 Da player!
 elseif (!fuck == $3) mta.text $1 OHHHH YEAH!!
 elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att göka med kuddar!
 elseif (/Fiddeman == $3) mta.text $1 Jag fidde gillar att göka med kuddar!
}
on *:SIGNAL:mta.text:{
 if (hello isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day)
 }
 elseif (lol isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe)
 }
on *:SIGNAL:mta.death: {
 mta.text $1 HAHA you suck $mta.nick($1,$2)
 }
} 

Link to comment

change to this:

on *:SIGNAL:mta.command: {
 if (!Funstuff == $3) mta.text $1 !Hello, !Suck, !Looser, !Lucky, !You, !Dead, !Spitz, !Rille, !Hedning, !Fiddeman, !
 elseif (!Hello == $3) mta.text $1 Hello world!
 elseif (!Suck == $3) mta.text $1 You suck man!
 elseif (!Looser == $3) mta.text $1 Haha looser!
 elseif (!Lucky == $3) mta.text $1 Lucky bastard!
 elseif (!You == $3) mta.text $1 You can do it!
 elseif (!Dead == $3) mta.text $1 You are so dead!
 elseif (!Spitz == $3) mta.text $1 Jag spitz gillar killar!
 elseif (!Rille == $3) mta.text $1 Tar kort p? killar!
 elseif (!Hedning == $3) mta.text $1 Da player!
 elseif (! == $3) mta.text $1 OHHHH YEAH!!
 elseif (!Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar!
 elseif (/Fiddeman == $3) mta.text $1 Jag fidde gillar att g?ka med kuddar!
}
on *:SIGNAL:mta.text:{
 if (hello isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,Hey!!,2,Hi!,3,Hello!,4,Good Day)
 }
 elseif (lol isin $3-) {
   var %r = $rand(1,4)
   mta.text $1 Automessage: $replace(%r,1,haha!!,2,lol!,3,hihi!,4,hehe)
 }
}
on *:SIGNAL:mta.death: {
 mta.text $1 HAHA you suck $mta.nick($1,$2)
}

:D

Link to comment
  • 2 weeks later...

Please stay on topic. This topic is:

Multi Theft Auto Forum Index -> General MTA -> Add-ons -> MTA:SA General Use Scripts | Final Version!

It has nothing to do with connecting MTA:mA to a server. This problem is a FAQ. Please update your server version.

Link to comment
  • 2 weeks later...

k i have another problem, when ever it loads a map it displays the wrong information. this is a recent development. it has not done this the entire time ive had it, i tried re-installing gus and i still have the same problem.

[12:35] * Startrace: Success to start race "loop crazy".

[12:35] Kenji-death - Top Time: N/A - By: N/A - Deathlimit: None - Played: 1/2 times (50%)

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...