#1

hi frnd.. i have created a command /money in this player gets $50000 how can I do i like player can use this only 1 time...

Sorry For BAD ENGLISH...
Reply
#2

An example using PVars & ZCMD.
pawn Код:
CMD:money(playerid, params[])
{
    if(GetPVarInt(playerid, "Money") == 1)return SendClientMessage(playerid, 0x00FF00AA, "You cannot do this anymore. =(");
    GivePlayerMoney(playerid, 50000);
    SendClientMessage(playerid, 0x00FF00AA, "You have earned 50.$000. =)");
    SetPVarInt(playerid, "Money", 1);
    return 1;
}
Reply
#3

thankz cool...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)