try:
Alias:
alias vcmp.lockdoors dll rcondll.dll RconCommand set 3 $1-
Command:
!lock
elseif ($2 == !lock) || {
if ($vcmp.cmdcheck(!lockcar,%id) == fail) !halt
else {
vcmp.lockdoors $vcmp.vehicle(%id,id) 4
vcmp.msg %id You have just locked your vehicle
}
}
!unlock:
elseif ($2 == !lock) || {
if ($vcmp.cmdcheck(!lock,%id) == fail) !halt
else {
vcmp.lockdoors $vcmp.vehicle(%id,id) 0
vcmp.msg %id You have just unlocked your vehicle
}
}