Jump to content

mtama bug?


Guest {SB}omfghax

Recommended Posts

on *:SIGNAL:mta.connect:{
 set %test 0
 mta.say $1 $mta.ip($1,%test)
}

for some reason mtama always outputs Unknown when you run this script

it only does it on mta.connect with a variable in for the playerid

have you seen this before? is there a way around it?

i need to know because its pissing me off

Link to comment

what do you mean set a timer?

should i set the timer for longer?

i tryed doing this but it still returns the Unkown

on *:SIGNAL:mta.connect:{ 
 set %test 0 
 !.timer 1 10 mta.say $1 $mta.ip($1,%test) 
} 

Link to comment

on *:SIGNAL:mta.connect:!.timer 1 1 mta.ip.announce $1
alias mta.ip.announce {
 var %a = 0
 while (%a <= $mta.maxplayers($1)) {
   if ($ini($mta.dir $+ $1.ini,ID $+ %a)) mta.log $1 $mta.name($1,%a) $+ : $mta.ip($1,%a)
   !inc %a
 }
}

something like that

Link to comment
  • Recently Browsing   0 members

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