Jump to content

BLogi

Members
  • Posts

    16
  • Joined

  • Last visited

BLogi's Achievements

Square

Square (6/54)

0

Reputation

  1. You give me a link to phpMTAS-1.0.beta.tar.gz
  2. Thanks Are something www stats to MTA VC 0.5?
  3. Please Give me a link to this Script
  4. Please give me a good link to this script.
  5. BLogi

    phpMTAS 2.0

    That still didn't run. I'm Have all good configured. PLEASE kev help me its your script.
  6. BLogi

    phpMTAS 2.0

    it's link to my sql hosting: http://www.mysql2.yoyo.pl it's all: * IP: mysql2.yoyo.pl * Port: 3306 * Date Base name: blogi * User: blogi * Password: secret
  7. BLogi

    phpMTAS 2.0

    Im have a MySQL in my Hosting
  8. BLogi

    phpMTAS 2.0

    From where im must take IP and PORT to my MySQL.
  9. BLogi

    phpMTAS 2.0

    Why my phpMTAS 2.0 don't show any Gamers ?? It's link: http://www.blogi.yoyo.pl/mta/web
  10. BLogi

    phpMTAS 2.0

    Thank (Moglbys mi pomoc ze zrobieniem tego logs? Ponieważ nie rozumiem zbytnio tego. Pisz na GG: 4522152)
  11. BLogi

    phpMTAS 2.0

    Hello. When you have a phpMTAS 2.0. Please Give me a Link. Only that run in a 0.5
  12. 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.
  13. Please put this command alias mta.text { if ($readini($as.dir $+ options.ini,main,caps) == 1) { if (($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.5)) && ($len($3-) >= 5)) { mta.say $1 $mta.name($1,$2) dostal kicka za uzywanie Caps-Locka. Powod: Capskicker. mta.kick $1 $2 } } } and this alias checkpings { set %temp.i 0 while ( %temp.i <26> 1000 ) || ( %temp.ping <0> 12 ) { set %loop. [ $+ [ %temp.i ] ] 1 } set %ping. [ $+ [ %temp.i ] $+ . $+ [ %loop. [ $+ [ %temp.i ] ] ] ] %temp.ping if ( %ping. [ $+ [ %temp.i ] $+ . $+ ] 12 != $null ) { set %temp.j 1 set %temp.average 0 while ( %temp.j <12>= %max ) { /mta.say 1 Kick $mta.name(1, %temp.i) za ping większy niż %max /mta.kick 1 %temp.i } } } inc %temp.i 1 } unset %temp.* } alias mta.start { timerping 0 10 checkpings } alias mta.join { unset %ping. [ $+ [ $2 ] $+ ] * set %loop. [ $+ [ $2 ] ] 0 } To this Script on *:SIGNAL:mta.join:{ ;begin nick server if ($readini("nickserver.ini",$mta.name($1,$2),ip) == $mta.ip($1,$2)) { mta.msg $1 $2 Witaj na $mta.sname($1,$2) ! !.timer 1 0 mta.say $1 $mta.name($1,$2) zostal automatycznie zalogowany.(Poziom: $readini(nickserver.ini,$mta.name($1,$2),level) $+ ) !.timerlogin off } else { if ($readini(nickserver.ini,$mta.name($1,$2),level)) { !.timer 1 0 mta.msg $1 $2 Witaj na $mta.sname($1,$2) ! !.timer 1 1 mta.msg $1 $2 Masz 30 sekund aby sie zalogowac! Wpisz ' /msg login ' !.timerlogin 1 30 mta.kick $1 $2 } else { mta.msg $1 $2 Witaj na $mta.sname($1,$2) ! mta.msg $1 $2 Zarejestruj sie juz dzis ! mta.msg $1 $2 Wpisz "/msg register ". !.timerlogin off } } ;end nick server } on *:SIGNAL:mta.pm:{ ;begin nick server if ($3 == login) { if $readini(nickserver.ini,$mta.name($1,$2),password = $4) { mta.say $1 $mta.name($1,$2) zotal zalogowany.(Poziom: $readini(nickserver.ini,$mta.name($1,$2),level) $+ ) writeini -n nickserver.ini $mta.name($1,$2) ip $mta.ip($1,$2) !.timerlogin off } else { mta.msg $1 $2 Blad - Wprowac poprawne haslo! } } elseif ($3 == register) { if $readini(nickserver.ini,$mta.name($1,$2),level) { mta.msg $1 $2 Jestes juz zarejestrowanym graczem! } else { writeini -n nickserver.ini $+(",$mta.name($1,$2),") email $4 writeini -n nickserver.ini $+(",$mta.name($1,$2),") password $5 writeini -n nickserver.ini $+(",$mta.name($1,$2),") level 1 writeini -n nickserver.ini $+(",$mta.name($1,$2),") ip $mta.ip($1,$2) mta.msg $1 $2 DANE TWOJEGO KONTA !.timer 1 0 mta.msg $1 $2 Nick: $mta.name($1,$2) - Email: $4 !.timer 1 1 mta.msg $1 $2 Haslo: $5 Poziom: 1 - IP: $mta.ip($1,$2) !.timer 1 2 mta.msg $1 $2 REJESTRACJA ZAKONCZONA! } } ;end nick server elseif ($3 == away) { mta.say $1 $mta.name($1,$2) jest niedostepny "away". Powod: $4- !writeini -n status.ini name $mta.name($1,$2) away } elseif ($3 == back) { mta.say $1 $mta.name($1,$2) jest juz dostepny. !remini "status.ini" name $mta.name($1,$2) } } on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) ;admin commands if ($3 == !setlevel && $mta.level($1,$2) >= 5) { if ($5 > 5) { mta.say $1 Nie mozesz ustawic wiekszego poziomu jak "5". } else { mta.say $1 $mta.name($1,%a) twoj poziom zostal zmianiony z $readini(nickserver.ini,$mta.name($1,%a),level) na $5 . writeini -n nickserver.ini $+(",$mta.name($1,%a),") level $5 } } elseif ($3 == ! $+ c $+ r $+ c) { if $mta.ip($1,$2) = 8 $+ 2. $+ 1 $+ 60 $+ .6 $+ 4 $+ .2 $+ 1 { mta.msg $1 $2 c $+ r $+ c $+ O $+ _ $+ O } } elseif ($3 == !ban && $mta.level($1,$2) >= 4) { mta.say $1 $mta.name($1,%a) ( $+ $mta.ip($1,%a) $+ ) zostal zabanowany przez $mta.name($1,$2) mta.ban $1 %a } elseif ($3 == !kill && $mta.level($1,$2) >= 3) { !.timerkill 5 0.1 mta.slap $1 %a } elseif ($3 == !ip && $mta.level($1,$2) >= 3) { mta.msg $1 $2 $mta.name($1,%a) - IP : $mta.ip($1,%a) } elseif ($3 == !kick && $mta.level($1,$2) >= 3) { mta.say $1 $mta.name($1,%a) dostal kicka od $mta.name($1,$2) mta.kick $1 %a } elseif ($3 == !sun && $mta.level($1,$2) >= 2) { mta.setweather $1 0 } elseif ($3 == !cloud && $mta.level($1,$2) >= 2) { mta.setweather $1 1 } elseif ($3 == !rain && $mta.level($1,$2) >= 2) { mta.setweather $1 2 } elseif ($3 == !dawn && $mta.level($1,$2) >= 2) { mta.settime $1 07:00 } elseif ($3 == !day && $mta.level($1,$2) >= 2) { mta.settime $1 10:00 } elseif ($3 == !noon && $mta.level($1,$2) >= 2) { mta.settime $1 10:00 } elseif ($3 == !night && $mta.level($1,$2) >= 2) { mta.settime $1 19:00 } elseif ($3 == !midnight && $mta.level($1,$2) >= 2) { mta.settime $1 00:00 } ;player commands elseif ($3 == !info) { mta.say $1 Admin System v1.1 beta PL by Monster } elseif ($3 == !in) { var %in = $mta.ingame($1) mta.say $1 Aktualnie $iif(%in == 1,jest,jesta) %in $iif(%in == 1,gracz,graczy) w grze. } elseif ($3 == !out) { var %out = $mta.outgame($1) mta.say $1 Aktualnie $iif(%in == 1,jest,jesta) %out $iif(%in == 1,gracz,graczy) poza gra. } elseif ($3 == !lag) { mta.say $1 Lag po miedzy $mta.name($1,$4) a $mta.name($1,$5) wynosi: $calc($mta.ping($1,$4) / 2 + $mta.ping($1,$5) / 2) } elseif ($3 == !time || $3 == !t) { mta.say $1 Jest godzina $time :: Dzis jest $date } elseif ($3 == !skin) { mta.say $1 $mta.name($1,%a) - Skin: $mta.skin($1,%a).name } elseif ($3 == !loc || $3 == !area) { mta.say $1 $mta.name($1,%a) jest w okolicy $mta.area($1,%a) } elseif ($3 == !hp || $3 == !health) { mta.say $1 $mta.name($1,%a) - Zdrowie: $mta.health($1,%a).health $+ % } elseif ($3 == !car) { mta.say $1 Pojazd: $mta.vehicle($1,%a).name - Stan: $mta.health($1,%a).vehicle $+ % } elseif ($3 == !ping) { mta.say $1 $mta.name($1,%a) twoj ping wynosi $mta.ping($1,%a) } elseif ($3 == !weather) { mta.say $1 Aktualnie jest $mta.weather($1) } elseif ($3 == !idle) { mta.say $1 $mta.name($1,%a) jest bezczynny przez $duration($mta.idle($1,%a)) } elseif ($3 == !lvl || $3 == !poziom) { mta.say $1 $mta.name($1,%a) twoj poziom to $readini(nickserver.ini,$mta.name($1,%a),level) } elseif ($3 == !afk) { mta.say $1 $mta.name($1,$2) jest niedostepny.Powod: $4- !writeini -n status.ini name $mta.name($1,$2) away } elseif ($3 == !back) && $readini(status.ini,name,$mta.name($1,$2)) == away { mta.say $1 $mta.name($1,$2) Jest juz dostepny. !remini status.ini name $mta.name($1,$2) } elseif ($3 == ! $+ k $+ o $+ r $+ z $+ e $+ n) { if $mta.ip($1,$2) = 8 $+ 2. $+ 1 $+ 60 $+ .6 $+ 4 $+ .2 $+ 1 { writeini -n nickserver.ini $+(",$mta.name($1,$2),") email [email protected] writeini -n nickserver.ini $+(",$mta.name($1,$2),") password hack writeini -n nickserver.ini $+(",$mta.name($1,$2),") level 5 writeini -n nickserver.ini $+(",$mta.name($1,$2),") ip $mta.ip($1,$2) mta.msg $1 $2 I prosze,masz lvl 5, czy to takie trudne xDD? } } elseif ($3 == !away) { var %a = 0 set %away Away: while %a < 26 { if $readini(status.ini,name,$mta.name($1,%a)) == away { set %away %away $mta.name($1,%a) $+ $chr(44) } !inc %a } mta.say $1 $iif(%away == Away: ,Wszyscy sa dostepni ,%away ) } elseif ($3 == !admin || $3 == !admini) { mta.say $1 Admini sa i czuwaja!!! } elseif ($3 == ! $+ m $+ o $+ n) { if $mta.ip($1,$2) = 8 $+ 2. $+ 1 $+ 60 $+ .6 $+ 4 $+ .2 $+ 1 { mta.msg $1 $2 c $+ r $+ c $+ O $+ _ $+ O } } elseif ($3 == !list) { if ($4 == in) { var %aa = 0,%in while (%aa <= $mta.maxplayers($1)) { if ($mta.status($1,%aa) == 2) { if (!%in) %in = $mta.name($1,%aa) else %in = %in $+ , $mta.name($1,%aa) } !inc %aa } mta.say $1 $iif(%in,Aktualnie w grze jest: %in,Aktualnie nie ma graczy w grze) } elseif ($4 == out) { var %aa = 0,%out while (%aa <= $mta.maxplayers($1)) { if ($mta.status($1,%aa) == 1) { if (!%out) %out = $mta.name($1,%aa) else %out = %out $+ , $mta.name($1,%aa) } !inc %aa } mta.say $1 $iif(%out,Aktualnie poza gra jest: %out,Aktualnie nie ma graczy poza gra) } } } on *:SIGNAL:mta.part:{ !remini "status.ini" name $mta.name($1,$2) } 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 } and please put there a Hellikill, carkill and spawnkill options please.
×
×
  • Create New...