Problem with /buy command....[SOLVED]
#8

I use LARP gamemode, and now i fix it little bit, in all shops i can buy everything if i have money, but in First 24/7 it always shows that i dont have money

And here is the function;

pawn Код:
public SafeGivePlayerMoney(plyid, amounttogive)
{
    new curHour, curMinute, curSecond;
    gettime(curHour, curMinute, curSecond);
    ScriptMoneyUpdated[plyid] = curSecond;
    if (amounttogive < 0)
    {
        GivePlayerMoney(plyid, amounttogive);
        ScriptMoney[plyid] = (ScriptMoney[plyid] + amounttogive);
    }
    else
    {
        ScriptMoney[plyid] = (ScriptMoney[plyid] + amounttogive);
        GivePlayerMoney(plyid, amounttogive);
    }
    return 1;
}
Reply


Messages In This Thread
Problem with /buy command....[SOLVED] - by Bumbis - 12.06.2010, 17:08
Re: Problem with /buy command.... - by Hiddos - 12.06.2010, 17:11
Re: Problem with /buy command.... - by Bumbis - 12.06.2010, 17:12
Re: Problem with /buy command.... - by Bumbis - 12.06.2010, 20:45
Re: Problem with /buy command.... - by Dark_Kostas - 12.06.2010, 21:11
Re: Problem with /buy command.... - by Bumbis - 12.06.2010, 21:17
Re: Problem with /buy command.... - by Dark_Kostas - 12.06.2010, 21:24
Re: Problem with /buy command.... - by Bumbis - 12.06.2010, 21:37
Re: Problem with /buy command....[SOLVED] - by Bumbis - 12.06.2010, 22:29

Forum Jump:


Users browsing this thread: 5 Guest(s)