Random message
#5

pawn Код:
////Frisk System
CMD:checkid(playerid, params[])
{
    new ID;
    if (sscanf(params, "u", ID)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Usage: /Checkid [ID]");
    new playername[24];
    new string[128];
        for (new i=0;i<13;i++)
        {
        SendClientMessage(playerid, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
            GetPlayerName(ID, playername,sizeof(playername));
            format(string,sizeof(string),"Name: %s ", playername);
            SendClientMessage(playerid, COLOR_GREY, string);
            if(random(8) == 0) SendClientMessage(playerid, COLOR_GREY, "License Status: VALID");
            else SendClientMessage(playerid, -1, "License Status: UNVALID");
            SendClientMessage(playerid, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
        }
    return 1;
}
It spams the chat
Reply


Messages In This Thread
Random message - by Gooday - 12.03.2012, 12:42
Re: Random message - by [XST]O_x - 12.03.2012, 12:47
Re: Random message - by T0pAz - 12.03.2012, 12:47
Re: Random message - by jueix - 12.03.2012, 12:48
Re: Random message - by Gooday - 12.03.2012, 13:14
Re: Random message - by ServerScripter - 12.03.2012, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)