Why doesn't this work?
#1

pawn Код:
CMD:f(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a family.");
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/f)amilychat [text]");
    if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "(( ** [OOC] (%d) %s %s: %s ))", PlayerInfo[playerid][pFamRank], RPFaRN(playerid), RPN(playerid), params);
    SendPlayerFamMessage(playerid, COLOR_CYAN, string);
    return 1;
}
Whats wrong with this Command? it doesn't send anything IG.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)