Jump to content

BooM

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by BooM

  1. hello, help on this plz, alias ini on *:SIGNAL:mta.command:{ if ($3 == !warned) { var %a = 0,%b = $null while (%a < 32) { if ($readini(%dir $+ $1.ini,ID $+ %a,warns) >= 1) %b = %b $mta.name($1,%a) !inc %a } if (%b == $null) mta.say $1 No players currently warned. else mta.say $1 Current warned players: %b } elseif ($3 == !unwarn) { if %b == -1 mta.say $1 Error - Absent ID else { if $readini($mta.dir $+ $1.ini,ID $+ %b,warns) >= 1 { var %c = $calc($readini($mta.dir $+ $1.ini,ID $+ %b,warns) -1) !writeini -n $+(",$mta.dir,$1.ini") ID $+ %b warns %c mta.say $1 $mta.name($1,$2) unwarned $mta.name($1,%b) $+ . %c warnings remaining. else mta.msg $1 $2 $mta.name($1,%b) unwarned. %c warnings remaining. } else mta.msg $1 $2 $mta.name($1,%b) is not warned. } } elseif $3 == !warn { if %b == -1 mta.msg $1 $2 Error - Absent ID else mta.warn $1 $2 %b $5- } } } alias mta.warn { var %a = $readini($mta.dir $+ $1.ini,ID $+ $3,warns) if $calc(%a + 1) == $readini($mta.dir $+ options.ini,main,warns) { if ($4 != $null) { mta.say $1 $mta.name($1,$3) $+ : Final warning. Reason: $4- $+ . Goodbye. mta.kick $1 $3 } else { mta.say $1 $mta.name($1,$3) $+ : Final warning. Goodbye. mta.kick $1 $3 } } else { if ($4 != $null) { mta.say $1 $mta.name($1,$3) warned $+ by $mta.name($1,$2)) $+ . $calc($readini($mta.dir $+ options.ini,main,warns) - $calc( %a + 1 )) more warnings and you will be kicked. Reason: $4- !writeini " $+ $mta.dir $+ $1 $+ .ini" ID $+ $3 warns $calc(%a + 1) } else { mta.say $1 $mta.name($1,$3) warned by $mta.name($1,$2)) $+ . $calc($readini($mta.dir $+ options.ini,main,warns) - $calc( %a + 1 )) more warnings and you will be kicked. !writeini " $+ $mta.dir $+ $1 $+ .ini" ID $+ $3 warns $calc(%a + 1) } } } its sorta works BooM: !warn BooM Unknown warned by BooM. -1 more warnings and you will be kicked. BooM: !warned No players currently warned. BooM: !warn BooM Unknown warned by BooM. -2 more warnings and you will be kicked. BooM: !warn BOO Unknown warned by BooM. -3 more warnings and you will be kicked. BooM: !UNWARN BO BooM unwarned Unknown. 2 warnings remaining. lol thx
  2. BooM

    erm

    like how do u post scripts so they dont go fucked and u get space's ect, like http://forum.mtavc.com/viewtopic.php?f= ... 8&start=15 quote >>if the link dont work here like that thx 4 your time toady
  3. BooM

    erm

    how do put add scripts ? like .1 .2 .3 youir get what i mean
  4. hello i woudnt mind a free server if its still up and going plz contact me on msn [email protected] thx BooM!
  5. no sorry, qoute >> and i ment like that on that other post how get it like 1. 2. 3. 4. 5. like krgunner
  6. on *:SIGNAL:mta.command: { if ($3 == !warn) { if (%a == -1) mta.msg $1 $2 Error - Absent ID. elseif (%a == $2) mta.msg $1 $2 Error - Can't warn yourself. else { !writeini " $+ $scriptdir $+ mta.warns.ini" WARNINGS $mta.name($1,%a) $calc($mta.warns($1,%a) + 1) if ($mta.warns($1,%a) >= 0) { mta.say $1 Kicking $mta.name($1,%a) for reaching the warnings limit. $iif($5,Reason: $5-) mta.kick $1 %a } else mta.say $1 $mta.name($1,%a) $+ , $replace($mta.warns($1,%a),1,first,2,second,3,third) warning. $calc(3 - $mta.warns($1,%a)) more warnings and you will be kicked. } } elseif ($3 == !unwarn) { if (%a == -1) mta.msg $1 $2 Error - Absent ID. elseif (%a == $2) mta.msg $1 $2 Error - Can't unwarn yourself. else { !writeini " $+ $scriptdir $+ mta.warns.ini" WARNINGS $mta.name($1,%a) if ($mta.warns($1,%a) >=3) { mta.say $1 unwarned $mta.name($1,%a) } } } elseif ($3 == !warned) { var %a = 0,%b = $null while (%a < 32) { if ($readini(%dir " $+ $scriptdir $+ mta.warns.ini" WARNINGS $mta.name($1,%a) !inc %a } if (%b == $null) mta.say $1 No players currently warned. else mta.say $1 Current warned players: %b } __________________________________________________________________________________________________________ hey can u help me out with the warn script plz eney 1 /me crys help!!
  7. WELL HERE MTA O.5 !ADMINS > sa oR 0.5 ;PLAYERS COMMANDS if (!admin* iswm $3) { var %a = 0,%b,%c while (%a <= $mta.maxplayers($1)) { if ($mta.level($1,%a) >= 6) %b = $iif(%b,%b $+ $chr(44) $mta.name($1,%a),$mta.name($1,%a)) $+ (Level: $mta.level($1,%a) $+ ) elseif ($mta.level($1,%a) >= 2) %c = $iif(%c,%c $+ $chr(44) $mta.name($1,%a),$mta.name($1,%a)) $+ (Level: $mta.level($1,%a) $+ ) !inc %a } mta.say $1 $iif(%b,Admins: %b,No admins currently present but we are allways watchin .) if (%c) mta.say $1 ViP's: %c HOPE THIS MIGHT HELP ?
  8. ello coudle u please make me a !banip and elseif !unbanip plz hackor ban eveing seached forum all over 4 so help ;( no luck,.tried to make 1 my self but no luck ether..thx,,but i know your good scripters, /me looks @ lil & scooby
  9. aha asif i nver saw that there lol thx ill test it now get bk to u
  10. erm i dont use mta:mta or grs dont think the script is workin elseif (($3 == !hp) || ($3 == !health)) $iif(%a == -1,mta.msg $1 $2 Error - Absent ID,mta.say $1 $mta.name($1,%a) $+ 's health: $mta.health($1,%a)) that shoude !hp boom booms hp is 100 < well l thats what i wont it to do .. thx and 1 more thing !tempban < !tempban i tried tried and tried agian,NO luck so i guess im askin u make me if that possible plz qoute !hp !tempban !stfu < shoulde finish my script off thx Note if u say sach this fourm u will find that dont work i need new 1 plz help boom,
  11. hi iam usein lil today's admin system and !hp id dissabled < there ist anyway to turn this on that i can see anyway so whoud it be possible to make me 1 plz as im a n0obie @ scriptin thxs
×
×
  • Create New...