Jump to content

My script is bad ??


BLogi

Recommended Posts

Why my script don't work?

its code

}
if $mta.skin($1,$2) == 5 {
       .timer 1 1 mta.say $1 Blokada Anty VCC Wlaczona.
       .timer 1 2 mta.say $1 Paszol won $mta.name($1,%a) $+ za VCC!!
       .timer 1 3 mta.msg $1 $2 Nigdy Wiecej VCC a to jest nauczka 
       .timer 1 6 mta.kick $1 $2

And where im must to paste it.

in this:

on *:SIGNAL:mta.spawn:{
 mta.say $1 $mta.name($1,$2) zrespawnowal sie jako $mta.skin($1,$2).name
}
alias mta.level  !return $readini(nickserver.ini,$mta.name($1,$2),level)
alias mta.ingame {
 var %a = 0,%b = 0
 while (%a <= $mta.maxplayers($1)) {
   if ($mta.status($1,%a) == 2) %b = %b + 1
   !inc %a
 }
 !return %b
}
alias mta.outgame {
 var %a = 0,%b = 0
 while (%a <= $mta.maxplayers($1)) {
   if ($mta.status($1,%a) == 1) %b = %b + 1
   !inc %a
 }
 !return %b
}

Please help me i'm newbie. I teach this lanuage.

Its Anti Vice City Crusador Script.

Link to comment
on *:SIGNAL:mta.spawn:{ 
 if ($mta.skin($1,$2) == 5) { 
   .timer 1 1 mta.say $1 Blokada Anty VCC Wlaczona. 
   .timer 1 2 mta.say $1 Paszol won $mta.name($1,%a) $+ za VCC!! 
   .timer 1 3 mta.msg $1 $2 Nigdy Wiecej VCC a to jest nauczka 
   .timer 1 6 mta.kick $1 $2 
 }
 else mta.say $1 $mta.name($1,$2) zrespawnowal sie jako $mta.skin($1,$2).name
} 
alias mta.level  !return $readini(nickserver.ini,$mta.name($1,$2),level) 
alias mta.ingame { 
 var %a = 0,%b = 0 
 while (%a <= $mta.maxplayers($1)) { 
   if ($mta.status($1,%a) == 2) %b = %b + 1 
   !inc %a 
 } 
 !return %b 
} 
alias mta.outgame { 
 var %a = 0,%b = 0 
 while (%a <= $mta.maxplayers($1)) { 
   if ($mta.status($1,%a) == 1) %b = %b + 1 
   !inc %a 
 } 
 !return %b 
}

Link to comment
  • Recently Browsing   0 members

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