Jump to content

Niels

Members
  • Posts

    204
  • Joined

  • Last visited

Everything posted by Niels

  1. Niels

    ATS Chronology

    Filefront links are down...
  2. http://www.mtavc.com/mta05/download.php
  3. Niels

    PHP Stats

    Hello, is possible to get the Server chat with PHP Sockets?
  4. Niels

    MTAMA in Blue?

    1. Yes 2. Yes (Doh) 3. Yuh I think of course that Aeron make's a version for blue
  5. How use shell that mtaserver.exe starts up?
  6. Please post @ http://www.xenogamers.nl/forum by Clanwars/Uitdagen.
  7. XenoGamers [XG] - XenoGamers MTA Clan Info: Leaders: [XG]Emperor & [XG]Krimson Co-Leaders: [XG]Ice & [XG]Focus Members: [XG]Moxegy [XG]Xe\/iouZ [XG]WarDog (Iam ) [XG]D/\rky [XG]Thuggie Netherlands Clan. Website: http://www.xenogamers.nl Forum: http://www.xenogamers.nl/forum MTA Server: mta://xg.game-host.org:2003 [XT] - XenoTrainees MTA Clan B-Team of [XG] Leaders: Same as [XG] Co-Leaders: Same as [XG] Members: [XT]Mc-ziggen Netherlands Clan. Website: http://www.xenogamers.nl Forum: http://www.xenogamers.nl/forum MTA Server: mta://xg.game-host.org:2003 Clan Contact? Mail [XG]Emperor - [email protected]
  8. Bleh, dont begin at scripting use grs
  9. on *:SIGNAL:mta.command: { if ($3 == !loc) || ($3 == !wru) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($4 != $null) { mta.say $1 $mta.name($1,%b) are in $mta.location($1,%b) } else mta.say $1 $mta.name($1,$2) you are in $mta.location($1,$2) } }
  10. Niels

    script help

    PM Jax or Oli...
  11. Niels

    looking to join a clan

    http://www.xenogamers.nl/forum
  12. if ($3 == !erasewarn) && ($mta.name($1,$2) == [TMG]Energy) { if ($4 != $null) { mta.say $1 $mta.name($1,$2) $+ : Removed warnings on $mta.name($1,$4) remini "MTAwarn.ini" main $mta.name($1,$4) remini "MTAwarn.ini" joinkick $mta.name($1,$4) remini "MTAwarn.ini" reasons $mta.name($1,$4) } else { mta.say $1 Syntax: !erasewarn } } } Try this this is working by id.
  13. alias mta.warn { if ($4 != $null) { if ( $readini( "MTAwarn.ini", main, $mta.name($1,$4) ) == 1 ) { if ($5 != $null) { mta.say $1 $mta.name($1,$4) $+ : 2nd warning. 1 more warning and you will be kicked. Reason: $5- writeini "MTAwarn.ini" main $mta.name($1,$4) 2 writeini "MTAwarn.ini" reasons $mta.name($1,$4) $5- } else { mta.say $1 $mta.name($1,$4) $+ : 2nd warning. 1 more warning and you will be kicked. writeini "MTAwarn.ini" main $mta.name($1,$4) 2 } } elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$4) ) == 2 ) { if ($5 != $null) { mta.say $1 $mta.name($1,$4) $+ : 3rd and final warning. Reason: $5- $+ . Goodbye! mta.kick $1 $4 writeini "MTAwarn.ini" main $mta.name($1,$4) 3 writeini "MTAwarn.ini" reasons $mta.name($1,$4) $5- } else { mta.say $1 $mta.name($1,$4) $+ : 3rd and final warning. Goodbye! mta.kick $1 $4 writeini "MTAwarn.ini" main $mta.name($1,$4) 3 } } else { if ($5 != $null) { mta.say $1 $mta.name($1,$4) $+ : 1st warning. 2 more warnings and you will be kicked. Reason: $5- writeini "MTAwarn.ini" main $mta.name($1,$4) 1 writeini "MTAwarn.ini" reasons $mta.name($1,$4) $5- } else { mta.say $1 $mta.name($1,$4) $+ : 1st warning. 2 more warnings and you will be kicked. writeini "MTAwarn.ini" main $mta.name($1,$4) 1 } } } else { mta.say $1 $mta.name($1,$2) $+ : Syntax - !warn } } on *:SIGNAL:mta.join: { elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$2) ) == 3 ) { mta.say $1 $mta.name($1,$2) $+ : Access denied - exceeded warn quota writeini "MTAwarn.ini" joinkick $mta.name($1,$2) $mta.ip($1,$2) mta.kick $1 $2 } } on *:SIGNAL:mta.command: { if ($3 == !warn) && ($mta.name($1,$2) == [TMG]Energy) { mta.warn $1- } if ($3 == !warnings) { if ($4 != $null) { if ( $readini( "MTAwarn.ini", main, $mta.name($1,$4) ) == 1 ) { mta.say $1 $mta.name($1,$4) has been warned 1 time. } elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$4) ) == 2 ) { mta.say $1 $mta.name($1,$4) has been warned 2 times. } else { mta.say $1 $mta.name($1,$4) has been warned 0 times. } } else { if ( $readini( "MTAwarn.ini", main, $mta.name($1,$2) ) == 1 ) { mta.say $1 $mta.name($1,$2) $+ : you have been warned 1 time. } elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$2) ) == 2 ) { mta.say $1 $mta.name($1,$2) $+ : you have been warned 2 times. } else { mta.say $1 $mta.name($1,$2) $+ : you have been warned 0 times. } } } if ($3 == !erasewarn) && ($mta.name($1,$2) == [TMG]Energy) { if ($4 != $null) { mta.say $1 $mta.name($1,$2) $+ : Removed warnings on $4 remini "MTAwarn.ini" main $4 remini "MTAwarn.ini" joinkick $4 remini "MTAwarn.ini" reasons $4 } else { mta.say $1 Syntax: !erasewarn } } } Script by oli
  14. Niels

    mtama bug?

    on *:SIGNAL:mta.connect:{ var %a = 0 while (%a <= $mta.maxplayers($1) ) { if ($mta.name($1,%a) != Unknown) { mta.say $1 $mta.ip($1,%a) } !inc %a } } Well working
  15. Niels

    Alarm?

    Other Alarm Script: if ( $3 == !alarm ) { if ($4 != $null) { if ($4 isnum ) { if ($5 == mins || $5 == min || $5 == m ) { if ($4 == 1) { set %alarm $calc( $4 * 60 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 minute. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $calc( $4 * 60 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 minutes. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } elseif ($5 == secs || $5 == sec || $5 == s) { if ($4 == 1) { set %alarm $4 mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 second. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $4 mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 seconds. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } elseif ($5 == hours || $5 == hour || $5 == h) { if ($4 == 1) { set %alarm $calc( $4 * 3600 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 hour. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $calc( $4 * 3600 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 hours. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } else { mta.say $1 $mta.name($1,$2) $+ : Error - Specify time format. Syntax - } } else { mta.say $1 $mta.name($1,$2) $+ : Error - Specify time. Syntax - } } else { mta.say $1 $mta.name($1,$2) $+ : Syntax - } } Out Script Packase
×
×
  • Create New...