Code:
(86) : error 035: argument type mismatch (argument 3)
RegConsoleCmd("sm_bhp_reset", ResetBHP, ADMFLAG_ROOT, "Resets Brutal Pounce Count");
It's
RegAdminCmd
However, SourceMod is flexible, you can avoid editing plugin source code for changing command to admin commands. Use
admin_overrides.cfg configure file.
"sm_bhp_reset" "z"
Code:
(313) : error 029: invalid expression, assumed zero
(314) : error 001: expected token: ":", but found "return"
(314) : error 001: expected token: ",", but found ";
if (GetVectorDistance(fPouncePos[pouncer], fLandedPos) < fDistance)
{
PrintToChat(pouncer, "\x04Fatal Jump\x01 \x03Failed!\x01 \x05(\x04%.1f\x05 / \x04%.1f\x05)", GetVectorDistance(fPouncePos[pouncer], fLandedPos), fDistance);
return;
}
if (iPounces[pouncer] > iMaxAttempts)
{
PrintToChat(pouncer, "\x03Maximum Limits Reached!\x01 \x04%s\x01", (GetUserAdmin(pouncer) == INVALID_ADMIN_ID) ? ;
return;
}
if (iPenalty[pouncer] > 0)
{
if (!bShowPenalty[pouncer])
{
PrintToChat(pouncer, "\x04Fatal Jump\x01 For \x03Please Wait!\x01");
}
return;
}
You have open parentheses
( and
conditional operator (
?), but without expressions.
__________________