Jump to content

I made 2 scripts for SA..... help?


SamB

Recommended Posts

Posted

on *:SIGNAL:mta.text:{
 if (site isin $3-) {
  mta.text $1 www.xendot.com
  }
}

this will spam when someone types the word "site"
but you probably meant it to respond to the command " !site "

on *:SIGNAL:mta.command: {
 if ($3 == !site) {
  mta.text $1 www.xendot.com
 }

on *:SIGNAL:mta.join: {
 if ($mta.nick($1,$2) == Player) {
   !.timer 1 5  mta.text $1 Player, please change nickname !
   !.timer 1 20 mta.text $1 Player, press ESCAPE click SETTINGS and change the name !!
 }
}


or

on *:SIGNAL:mta.join: {
 if ($mta.nick($1,$2) == Player) {
   !.timer 1 5  mta.text $1 Nickname player is not allowed
   !.timer 1 10 mta.kick $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

Why would someone change their name to Player?

4m85g1y.png

Make sure to use the Search feature before posting a new topic.

Click here for detailed MTA: San Andreas server setup guides.

Posted
they both work fine :D
:)

only prob is if someone changes their name back to player it doesnt kick them.

do u have to put on.mta:name or something

on *:SIGNAL:mta.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:

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...