Quote:
Originally Posted by lexzor
i don't know which line is 89. post the code
|
line 89 was your CMD_TYPE i missed it, but is still not that and not work but i think i found the prob
PHP Code:
// Command: Round Time.
CmdRoundTime(client, param[])
{
new num;
if (CheckMinMax(client, param, num, 1, 9))
{
set_pcvar_float(gCmdPointer[ROUND_TIME], float(num));
PrintHasSetCmd(0, client, ROUND_TIME, fmt("%.1f", num));
}
return;
}
Fixed, thanks for reply
PHP Code:
// Command: Freeze Time.
CmdFreezeTime(client, param[])
{
new num;
if (CheckMinMax(client, param, num, 0, 60))
{
//set_pcvar_float(gCmdPointer[FREEZE_TIME], float(num));
set_cvar_float(gCmdPointer[FREEZE_TIME], float(num));
PrintHasSetCmd(0, client, FREEZE_TIME, fmt("%.2f", float(num)));
}
return;
}