Dice command help request , i give reputation ++ !
#2

Example:

pawn Код:
CMD:dice(playerid, params)
{
    new target, amount;
    if(sscanf(params, "ii", target, amount)) return SendClientMessage(playerid, COLOR_BLUE5, "Usage: /dice [playerid] [amount]");
    if(GetPlayerMoney < amount) return SendClientMessage(playerid, COLOR_LIGHTRED, "You don't have cash");
    GivePlayerMoney(target, amount);
    SendClientMessage(playerid, -1, "You have been gave money.");
    return 1;
}
Reply


Messages In This Thread
Dice command help request , i give reputation ++ ! - by buburuzu19 - 31.10.2014, 07:39
Re: Dice command help request , i give reputation ++ ! - by MasonSFW - 31.10.2014, 08:06
Re: Dice command help request , i give reputation ++ ! - by buburuzu19 - 31.10.2014, 08:23
Re: Dice command help request , i give reputation ++ ! - by AdHaM612 - 31.10.2014, 09:11
Re: Dice command help request , i give reputation ++ ! - by buburuzu19 - 31.10.2014, 09:43

Forum Jump:


Users browsing this thread: 3 Guest(s)