Give cash to all
#2

pawn Код:
CMD:agive(playerid, params[])
{
    new value;
    if(!IsPlayerAdmin(playerid)) return 1;
    if(sscanf(params, "d", value) != 0) SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /agive [Amount]"); return 1;
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            GivePlayerMoney(i, value);
        }
    }
    return 1;
}
not tested but should work
Reply


Messages In This Thread
Give cash to all - by Configuration - 27.07.2013, 12:00
Re: Give cash to all - by Donvalley - 27.07.2013, 12:01
AW: Give cash to all - by Skimmer - 27.07.2013, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)