/report help
#2

Код:
CMD:report(playerid,params[])
{
    new text,pName[MAX_PLAYER_NAME],string[128];
    if(sscanf(params, "s[125]", text)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /report [Text]");
    else
    {
        PlayerInfo[playerid][pReportSent] = 1;
        SendClientMessage(playerid,COLOR_YELLOW,"Your Report Has Been Sent Succesfully...");
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
        format(string,128,"%s:[%d]:%s",pName,playerid,text);
        SendClientMessage(playerid,COLOR_ORANGE,string);
    }
    return 1;
}
try this ,, z_cmd need
Reply


Messages In This Thread
/report help - by UfsDev - 08.03.2014, 19:44
Re: /report help - by Dipto - 08.03.2014, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)