sscanf "u" and "s[126]" specifier bug
#4

Try using "if (isnull (params)) return Usage (playerid," w <matn> - Bago Chat Dargooshi ");" first

PHP Code:
CMD:w(playeridparams[])
{
    if(
isnull(params)) return Usage(playerid"w <matn> - Bago Chat Dargooshi ");
    
LoginCheck(playerid);
    new 
string[256], pname[MAX_PLAYER_NAME];
    
GetPlayerName(playerid ,pnamesizeof(pname));
    
format(string,sizeof(string), ""white"[DarGooshi]%s: %s"pnameparams);
    
SendNearMessage(playerid0xFFFFFFFstring12.1);
    
format(sb_stringsizeof(sb_string),"{FF9000}[DarGooshi] {FFFFFF}%s"params);
    
SetPlayerChatBubble(playeridsb_string0xFFFFFFFF16.0,4000);
    return 
1;

By the way, as defined "Usage"?
Reply


Messages In This Thread
sscanf "u" and "s[126]" specifier bug - by xRadical3 - 24.12.2018, 13:46
Re: sscanf "u" and "s[126]" specifier bug - by Calisthenics - 24.12.2018, 15:00
Re: sscanf "u" and "s[126]" specifier bug - by xRadical3 - 24.12.2018, 15:50
Re: sscanf "u" and "s[126]" specifier bug - by SapMan - 24.12.2018, 16:22
Re: sscanf "u" and "s[126]" specifier bug - by xRadical3 - 25.12.2018, 07:56
Re: sscanf "u" and "s[126]" specifier bug - by aKnoxx - 25.12.2018, 09:17
Re: sscanf "u" and "s[126]" specifier bug - by xRadical3 - 25.12.2018, 12:53
Re: sscanf "u" and "s[126]" specifier bug - by aKnoxx - 26.12.2018, 07:39

Forum Jump:


Users browsing this thread: 1 Guest(s)