View Single Post
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-19-2023 , 15:46   Re: print wrong message value
Reply With Quote #5

Quote:
Originally Posted by lexzor View Post
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(clientparam[])
{
    new 
num;
    if (
CheckMinMax(clientparamnum19))
    {
        
set_pcvar_float(gCmdPointer[ROUND_TIME], float(num));
        
PrintHasSetCmd(0clientROUND_TIMEfmt("%.1f"num));
    }
    return;

Fixed, thanks for reply
PHP Code:
// Command: Freeze Time.
CmdFreezeTime(clientparam[])
{
    new 
num;
    if (
CheckMinMax(clientparamnum060))
    {
        
//set_pcvar_float(gCmdPointer[FREEZE_TIME], float(num));
        
set_cvar_float(gCmdPointer[FREEZE_TIME], float(num));
        
PrintHasSetCmd(0clientFREEZE_TIMEfmt("%.2f"float(num)));
    }
    return;


Last edited by Fuck For Fun; 05-19-2023 at 16:10.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun