Jump to content

Keslertje2005

Members
  • Posts

    111
  • Joined

  • Last visited

Everything posted by Keslertje2005

  1. Could you show me a part of the mtagus.mrc where you've put it between? Thnx!
  2. But do you have to post that one also in the mtagus.mrc? At the bottom with all the other on signal commands? Or is it possible to make it without that on signal?
  3. They both dont work.. They have to be for mta-sa.. myabe thats the point. But when i use the $4 version it doenst do anything.. Hope it can be fixen Thnx already for the fast respons!!!
  4. Hi all, ive got some problems with this script: elseif ($3 == !brb) { if ($1 == -1) mta.pm $1 $2 Error - Absent ID else mta.text $1 $mta.nick($1,$2) will be right back! $iif($5,reason: $5-,) ! I want to make it possible for people to say that they will brb with or without a reason. I now got this. When they fill in no reason it is working. But with reason it doenst show the first word. So when I do: !brb have to eat, it says: B!G-BO$$ will be right back! Reason: to eat . Does anyone know how this can be fixen? Thanks! And a second thing, should be an easy thing I think. I red the topic from [sA] where he asks about a win script. I tryed the script by putting it at the bottom of mtagus.mrc with all the other on signal scripts but it doenst work. This is the script: on *:SIGNAL:mta.endrace: { var %a = 0 while (%a < $mta.server($1).cmax) { if ($mta.nick($1,%a) != -1) { if ($calc($mta.dead($1) + $mta.frozen($1) + 1) == $mta.server($1).players) { if ($mta.dead($1,%a) != 1 && $mta.dead($1,%a) != 2 && $mta.dead($1,%a) == $null) { mta.text $1 $mta.nick($1,%a) won! } } } !inc %a } } I aslo tryed it with death. I hope someone could help me. Thanks!
  5. I dont get it... Could someone explain it further? Thank you , I have put it in the script at the bottom with all the other on signal commands... I already changed end race in death but it still doesnt work.. Does anyone know why?
  6. And because all the warnings are stored I cant start al over again with the warnings for that player. So when I warn him the next time he will be kicked with only 1 warning. Is it possible to get the warnings of that player deleted after he got kicked? Wihtout the otherones getting deleted?
  7. But one more question. If I want to add another commands like this but than with AFK or Bad Language, wich part will I have to change so the warnings get stored in a other file than the camp warnings file? Already thanks!
  8. Its working! Your are the best! THANKS!!
  9. OMG How stupid, I'll retyp it in english: I'm searchin a very long time for a script where I can warn campers with on MTA-SA. So when I do !camp that player will get warned with a text. He should be kicked after 2 warnings. Ive got this script from lil (working perfect!!! Thanks lil!!): } on *:SIGNAL:mta.text:{ if ($len($3-) > 10) && ($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.7)) { !writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1) var %a = $readini($mta.dir $+ $1.ini,$2,warnings) if (%a >= 3) { mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be kicked! (Too much caps used) mta.kick $1 $2 } else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and he will be kicked! (Too much caps used) } } I tryed to edit it to !camp but it didnt work because when I do !camp with mta.nick($1,a%) it is warning from ID 3 to ID 1 i thought. I hope someone could edit this script to a warn script for me like the script above but than for !camp Really really really many thanks!!!
  10. Hey mensen. Ik zoek al heel lang een script waar ik campers mee kan waarschuwen op MTA-SA. Als ik dan !camp doe wilde ik graag dat hij gewaarschuwd zou worden met de tekst. Na 2 keer waarschuwen zou hij dan gekickt moeten worden. Ik heb nu dit script tegen caps: } on *:SIGNAL:mta.text:{ if ($len($3-) > 10) && ($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.7)) { !writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1) var %a = $readini($mta.dir $+ $1.ini,$2,warnings) if (%a >= 3) { mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be kicked! (Too much caps used) mta.kick $1 $2 } else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and he will be kicked! (Too much caps used) } } Ik heb geprobeerd hem te configureren naar !camp maar het wil me niet lukken want als ik !camp met mta.nick($1,%a) gaat hij de ID's af van 3 naar 1 volgens mij. Ik hoop dat iemnd een warn script zou kunnen maken zoals hierboven maar dan voor !camp Alvast heeeeeeeeeel erg bedantk!!!
×
×
  • Create New...