Quote:
Originally Posted by Vince
pawn Код:
if(sscanf(params, "u[128]",params[0]))
What is that supposed to mean? A /me command is like the easiest thing to make and you don't even need sscanf for that if you're using DCMD/ZCMD.
pawn Код:
dcmd_me(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid,COLOR_WHITE,"USAGE: /me [message]"); new pnames[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, pnames, sizeof(pnames)); format(string, sizeof(string), "* %s %s", pnames, params); SendClientMessageToAll(COLOR_PINK, string); return 1; }
|
True. I found that around on so don't mind.