Hi,
I downloaded VRockers new DLL and vc-mp and now I am trying to edit to get it to a script that I can use, however, I can't seem to be able to make a login/ register system and for now I am trying to do a sethp command but that is failing:
on *:SIGNAL:vcmp.player.command2:{
; $1 = ServerID, $2 = PlayerID, $3 = Command, $4- = Params
vcmp.addchat $1 $vcmp.name( $1, $2 ) $+ : /c $3-
elseif ($3 == sethp) {
elseif (!$4) vcmp.msg $2 Error - Missing Information, $3 <name> <amount>
elseif (!$5) vcmp.msg $2 Error - Missing Information, $3 <name> <amount>
elseif ($4 == -1) vcmp.msg $2 Error - Invalid ID/Name
else {
vcmp.sethp $4 $5
vcmp.say Setting HP on: $4 To Amount: $5 $+ % By Admin: $2
}
!.signal vcmp.command2 $strip( $1- )
}
}
Any ideas?