14.03.2018, 10:23
Quote:
In forumname, if nume is a string, then you shouldn't be using %d in the format for it, nor should you be using d in sscanf for the command input of nume.
24 hour bumps only too. And what you're doing in that format in the first example in admins command, won't work as that's not how you use format, and pass things to SendClientMessage. Simply use 2 strings, and do 2 SendClientMessages. |
How about now ?
HTML Code:
function Forumname(playerid,forumname[]) { new str[24],fname[16]; format(fname,sizeof(fname),"%s",ForumName); pInfo[ForumName] = fname; new stra[256]; format(stra,sizeof(stra),"*"COL_LGREEN" Admin %s(%i) has set your forumname to %s(%i)",PlayerName(playerid),playerid, ForumName); SendClientMessage(playerid,-1,stra); return 1; }