free

News

collapse

User Info

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

* Recent Posts

Re: Argonath RPG Official Clan: Svensson - Est. 2007 by Mr. Goobii
[Yesterday at 03:12:11 pm]


Re: The Soprano Family | Royal Loyalty by Dean.
[August 03, 2025, 11:23:58 pm]


Re: Rest in peace by Dean.
[August 03, 2025, 11:23:30 pm]


Re: Stopping by by Dean.
[August 03, 2025, 11:22:35 pm]


Re: ordinary day in VCMP by Denlow
[July 28, 2025, 04:58:56 pm]


Re: The Soprano Family | Royal Loyalty by .Mario.
[July 26, 2025, 03:05:43 pm]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by FrankCivello
[July 17, 2025, 12:50:43 am]


NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]

* Who's Online

  • Dot Guests: 358
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

August 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 · 2805

0 Members and 12 Guests 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