Hey spamer
1. To do a !getcar but everyone can use, simple do a similar !getcar command. My idea for this:
elseif ($3 == getcarASD) {
if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must register to be able to use this command.
elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: ! $+ $3 <Car ID>
elseif ($4 !isnum) vcmp.msg $1 $2 Error, Invalid Car ID
elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 Error, No negative or decimal car id's
elseif ($4 > $calc(%FBS.vehicles - 1)) vcmp.msg $1 $2 Error, Invalid Car ID
elseif ($FBS.rwarstatus($2) == 1) vcmp.msg $1 $2 You cannot get a vehicle, your are in a minigame
elseif ($vcmp.vehicle($1, $2) != 0) vcmp.msg $1 $2 Error, You must be on foot to use this command
else {
vcmp.setvehicleloc $1 $4 $calc($vcmp.location($1, $2).x + 2) $vcmp.location($1, $2).y $calc($vcmp.location($1, $2).z - 1.12)
vcmp.msg $1 $2 Getting Vehicle:[ $hget(VehicleNames,$4) $chr(93)
}
}
Command syntax must be !command $-Param-Eters. So !getcarASD VehID, not !infernus. Ofc u can do a command infernus, but in this u have to do a while, checks etc..
2. How dose it look like the fight cmd on Jc's and friends server
? Its a LMS or only teleport?