Jump to content

MTA:SA General Use Scripts | Final Version!


Tommis

Recommended Posts

Posted
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)
 }
}

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

  • Replies 382
  • Created
  • Last Reply

Top Posters In This Topic

Posted
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)
 }
}

Posted
tx lil Toady works great!

coz:

Dont work, when i die i get "HAHA you suck mta.nick($1,$2)"

woops .. scripting at 4 in the night

mta.nick($1,$2) should be

$mta.nick($1,$2)

coz_sig_oob.png

Server Blog | Server quickinfo

STFU and dont bug the mta team with ''when is DM comming''

or risk theyre spending more time explaining they're still working on DM than actually getting work done :shock:

Posted

maybe you put it in a wrong place? must be:

on *:SIGNAL:mta.death: {
 mta.text $1 HAHA you suck $mta.nick($1,$2)
} 

Do not PM me, im not going to read it anyway.

Posted

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)
 }
} 

Posted

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

Do not PM me, im not going to read it anyway.

  • 2 weeks later...
Posted
Still can't connect.

in mtaserver.conf ?

AdminServer 1 ?

AdminPass Azu ?

coz_sig_oob.png

Server Blog | Server quickinfo

STFU and dont bug the mta team with ''when is DM comming''

or risk theyre spending more time explaining they're still working on DM than actually getting work done :shock:

Posted

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.

av.png

  • 2 weeks later...
Posted

Yes,

Take out the mta.kick $1 $2 under "Invalid IP Match". Just search it in mtagus.mrc...

Cya,

Tommis

xe6za.gif

banner.gif

Best game server hosting. America East&West Coast, and many European locations available.

Click on the above link to check us out!

Posted
Yes,

Take out the mta.kick $1 $2 under "Invalid IP Match". Just search it in mtagus.mrc...

Cya,

Tommis

just one downside

any noob can become admin by changing his nick

coz_sig_oob.png

Server Blog | Server quickinfo

STFU and dont bug the mta team with ''when is DM comming''

or risk theyre spending more time explaining they're still working on DM than actually getting work done :shock:

Posted

hi i have a problem with the !setdeathlimit

and i have read and i understand that u can only use the script when you are on that map, however, i always get the "No Map Found" message.

what can i do?

Posted

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%)

Posted
sry to double post but i fixed the above problem. but i have another problem.

how do u turn on max ping in GUS? and how do u set it?

!setping off

Do not PM me, im not going to read it anyway.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...