watti Posted August 8, 2007 Posted August 8, 2007 can any one test and Fix this.. please.. im realy busy on *:SIGNAL:mta.command:{ if ($mta.admin+($1) == $true) { if (!cop* iswm $3) { var %a = 0,%b = $null while (%a <= $mta.maxplayers($1)) { if (Cop* iswm $mta.skin($1,%a).name) { var %b = $+(%b,$mta.name($1,%a),$chr(32)) } inc %a } mta.say $1 Cops: $iif(%b,%b,None) } elseif (!suspect == $3) { if (Cop* iswm $mta.skin($1,$2).name) { if ($mta.getid($1,$4) != -1) { set $+(%rpg.suspects,.,$1) $addtok($+(%rpg.suspects,.,$1),$mta.name($1,$mta.findid($1,$4)),32) mta.say $1 $mta.name($1,$mta.findid($1,$4)) has been Suspected For $iif($5,$5,None) } else mta.msg $1 Invalid ID/Name } else mta.msg $1 $2 your not a cop, To use this command Become a cop. } elseif (!wanted == $3) { if ($numtok($+(%rpg.suspects,.,$1),32) > 9) { mta.say $1 Wanted players: $iif($+(%rpg.suspects,.,$1),$+(%rpg.suspects,.,$1),None) } elseif ($numtok($+(%rpg.suspects,.,$1),32) > 19) { mta.say $1 Wanted players: $gettok($+(%rpg.suspects,.,$1),1-8,32) !.timer 1 1 $gettok($+(%rpg.suspects,.,$1),9-18,32) } else { mta.say $1 Wanted players: $gettok($+(%rpg.suspects,.,$1),1-8,32) !.timer 1 1 $gettok($+(%rpg.suspects,.,$1),9-18,32) !.timer 1 2 $gettok($+(%rpg.suspects,.,$1),19-,32) } } } } on *:SIGNAL:mta.kill:{ if ($findtok($+(%rpg.suspects,.,$1),$mta.name($1,$2),1,32)) { mta.name $1 $3 Killed a wanted player set $+(%rpg.suspects,.,$1) $remtok($+(%rpg.suspects,.,$1),$mta.name($1,$2),1,32) } }
SanZoR Posted August 8, 2007 Posted August 8, 2007 So you ask help, cause you are busy? omfg. Finnish Multi Theft Auto Networks Community @ http://fin-mta.net OWNED 100mbit fiber linez ownz
lil Toady Posted August 8, 2007 Posted August 8, 2007 on *:SIGNAL:mta.command:{ if ($mta.admin+($1) == $true) { if (!cop* iswm $3) { var %a = 0,%b = $null while (%a <= $mta.maxplayers($1)) { if (Cop* iswm $mta.skin($1,%a).name) { var %b = $+(%b,$mta.name($1,%a),$chr(32)) } inc %a } mta.say $1 Cops: $iif(%b,%b,None) } elseif (!suspect == $3) { if (Cop* iswm $mta.skin($1,$2).name) { if ($mta.getid($1,$4) != -1) { set $+(%rpg.suspects,.,$1) $addtok($+(%rpg.suspects,.,$1),$mta.name($1,$mta.findid($1,$4)),32) mta.say $1 $mta.name($1,$mta.findid($1,$4)) has been Suspected For $iif($5,$5,None) } else mta.msg $1 Invalid ID/Name } else mta.msg $1 $2 your not a cop, To use this command Become a cop. } elseif (!wanted == $3) { if ($numtok($+(%rpg.suspects,.,$1),32) < 9) { mta.say $1 Wanted players: $iif($+(%rpg.suspects,.,$1),$v1,None) } elseif ($numtok($+(%rpg.suspects,.,$1),32) < 19) { mta.say $1 Wanted players: $gettok($+(%rpg.suspects,.,$1),1-8,32) !.timer 1 1 mta.say $1 $gettok($+(%rpg.suspects,.,$1),9-18,32) } else { mta.say $1 Wanted players: $gettok($+(%rpg.suspects,.,$1),1-8,32) !.timer 1 1 mta.say $1 $gettok($+(%rpg.suspects,.,$1),9-18,32) !.timer 1 2 mta.say $1 $gettok($+(%rpg.suspects,.,$1),19-,32) } } } } on *:SIGNAL:mta.kill:{ if ($findtok($+(%rpg.suspects,.,$1),$mta.name($1,$2),1,32)) { mta.name $1 $3 Killed a wanted player set $+(%rpg.suspects,.,$1) $remtok($+(%rpg.suspects,.,$1),$mta.name($1,$2),1,32) } } If it aint working at all, make sure you have Admin+ on in the server. Do not PM me, im not going to read it anyway.
SanZoR Posted August 8, 2007 Posted August 8, 2007 you can't help him, so why did you post? ZOMG!1 You did it too! Finnish Multi Theft Auto Networks Community @ http://fin-mta.net OWNED 100mbit fiber linez ownz
Recommended Posts