Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: capitanazo on September 01, 2007, 06:05:05 am
-
Thanks mbalee for the help =D.
this is my command based on mbalee Command !jail
elseif ($2 == !mansion) || ($2 == !pmmansion) {
if ($vcmp.cmdcheck(!mansion,%id) == fail) !halt
else {
vcmp.setlocation %a -378.6533 -544.6484 17.2831
}
}
bye =D
-
and this is mine:
elseif ($2 == !jail) || ($2 == !pmjail) {
if ($vcmp.cmdcheck(!jail,%id) == fail) !halt
elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <reason>
elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
else {
vcmp.cmdsay $2 %id $vcmp.name(%a) - Has been Jailed By Admin: %name $+ , Reason: $iif($4,$v1,None)
vcmp.setlocation %a 388.669739 -509.847992 9.395614
vcmp.setcont %a 0
}
and unjail
:P:P:P:P:D:D
-
There are much better jail commands ;P