Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Knucis on February 15, 2009, 08:22:30 PM

Title: This isnt working :S
Post by: Knucis on February 15, 2009, 08: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:
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:
alias vcmp.setmarker dll rcondll.dll RconCommand set 16 $1-


PS: Im using GUS
Title: Re: This isnt working :S
Post by: thijn on February 16, 2009, 04:28:08 PM
use %id, Not %a