help please
#8

btw it was good but I did some thing made it as you see but i dun know what i did
It's 1 Command:
Код:
CMD:givemoney(playerid, params[])
{
    new id, money, string[128], string2[128],plName[24],aName[24];
	GetPlayerName(playerid,aName,sizeof(aName));
	GetPlayerName(id,plName,sizeof(plName));
    if(PlayerInfo[playerid][Level] >= 3)
    {
        if(sscanf(params,"ii",id,money)) return SendClientMessage(playerid,COLOR_WHITE,"USAGE: /givemoney [ID] [amount]");
        else
        GivePlayerMoney(id,money);
        format(string, sizeof(string),"You have give player %s %d$!", plName, money);
        SendClientMessage(playerid, yellow, string);
        format(string2 ,sizeof(string2),"Administrator %s has given you %d$!", aName, money);
        SendClientMessage(id, blue, string2);
    }
    return 1;
}
Reply


Messages In This Thread
help please - by AhmedMohamed - 26.02.2014, 04:19
Re: help please - by phoon - 26.02.2014, 04:23
Re: help please - by AhmedMohamed - 26.02.2014, 04:26
Re: help please - by AhmedMohamed - 26.02.2014, 04:43
Re: help please - by Mattakil - 26.02.2014, 04:50
Re: help please - by AhmedMohamed - 26.02.2014, 05:05
Re: help please - by TonyII - 26.02.2014, 05:08
Re: help please - by AhmedMohamed - 26.02.2014, 05:16

Forum Jump:


Users browsing this thread: 4 Guest(s)