free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 175
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

December 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 [26] 27
28 29 30 31

mIRC Scripting for MTA:VC

Guest · 2853

0 Members and 1 Guest are viewing this topic.

Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #15 on: February 28, 2008, 06:51:59 pm
In MTA:mA go to Server > Options > Check 'Admin+'
Make sure you then enter the admin+ password too.
You need to be connected to the server with admin+ to do/receive certain things.

Also in that script you haven't ended the signal scope. (You need another } bracket)


on *:SIGNAL:mta.command:{

  var %a = $iif($4 == $null,$2,$mta.getid($1,$4))

  if ($3 == !hp) {
    if (%a == -1) mta.msg $1 $2 Error: Invalid Name/ID.
    elseif ($4 == $null) mta.msg $1 $2 Your Health is at $mta.health($1,$2) $+ %
    else mta.msg $1 $2 $mta.name($1,%a) $+ s health is at $mta.health($1,%a) $+ %
  }

}



 


free
free
SimplePortal 2.3.7 © 2008-2025, SimplePortal