22.10.2011, 01:13
I got this format
format(str, sizeof(str), "#%d (%02d/%02d/%04d - %02d:%02d:%02d) %s - %s", num, day, month, year, hour, minute, second, PlayerNameEx(playerid), string);
And i need to make the #%d invisible, So it will return only the string after the number.
I've tried this format
sscanf(string, "{p<#>d}s[255]", str1);
But its doesn't work... i'll be glad if someone will help me to solve this problem :/
Have a nice day people
format(str, sizeof(str), "#%d (%02d/%02d/%04d - %02d:%02d:%02d) %s - %s", num, day, month, year, hour, minute, second, PlayerNameEx(playerid), string);
And i need to make the #%d invisible, So it will return only the string after the number.
I've tried this format
sscanf(string, "{p<#>d}s[255]", str1);
But its doesn't work... i'll be glad if someone will help me to solve this problem :/
Have a nice day people