Jump to content

scripting question


Guest CrazyFool

Recommended Posts

Posted

im semi - new to scripting for mta

im trying to make a script that welcomes a person when he joins the server

would it be

on *:SIGNAL:mta.join:command {
mta.msg $1 $2 Welcome to the server!
}

Posted

on *:SIGNAL:mta.join:{
mta.msg $1 $2 Welcome to the server!
} 

mta.join and mta.command are triggered by different things, so you cant shove them both in the same event.

Posted

thanks alot man :twisted:

edit one more question, how whould i make it msg the player when when he types a comannd like !command

on *:SIGNAL:mta.command:{

i know it involes using this event

Posted

i ran into a bit of a problem, it works but it says the message twice, anyone know why this would happen?

Posted

hrmm after i reloaded the script and reconnected to the server it worked

thanks again :)

  • Recently Browsing   0 members

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