Author Topic: This isnt working :S  (Read 2400 times)

0 Members and 1 Guest are viewing this topic.

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
This isnt working :S
« on: February 15, 2009, 10:22:30 pm »
This isnt working... I think its the $vcmp.location(%a)... And the Writeini says insuficient parameders :S i dont know why.

CMD:
Code: [Select]
elseif ($2 == !setmarker) {
    if (!$3) vcmp.msg %id Error - Missing information, $2 <Marker ID>
    else {
      vcmp.setmarker $3 $vcmp.location(%a)
      !writeini -n vcmp.marker.ini MARKER $3 $vcmp.location(%a)
     vcmp.say Marker added at: $vcmp.location(%a) ID: $3
    }
  }

ALIAS:
Code: [Select]
alias vcmp.setmarker dll rcondll.dll RconCommand set 16 $1-

PS: Im using GUS

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: This isnt working :S
« Reply #1 on: February 16, 2009, 06:28:08 pm »
use %id, Not %a