Code:
else if (!strcmp(strlwr(command),"setldonpoint")) {
if (mob && mob->IsClient()) {
mob->CastToClient()->UpdateLDoNPoints(atoi(arglist[0]),atoi(arglist[1]));
mob->CastToClient()->Message(15,"You won %i points!",atoi(arglist[0]));
}
}
this should work,haven't tested it.