Help with money
#1

hey i have made this code when a player plays a certain amount of hours they get rewarded. but when they play the first hour instead of it rewarding you with $1000 it for some reason gives $19000.


pawn Код:
if(CST[playerid] == 2) // 1st Hour Played
    {
        GivePlayerMoney(playerid, 1000);
        PlayerTextDrawSetString(playerid, TOS, "Current Time~n~On Server~n~1 Hour");
        PlayerTextDrawShow(playerid, PayoutTD);
        PlayerTextDrawSetString(playerid, PayoutTD, "TOS Payout~n~You Recieved~n~$~g~1000");
        SetTimerEx("TDDestroy", 50000, false, "i", playerid);
    }
I will rep the help i get
Reply


Messages In This Thread
Help with money - by Jakwob - 24.04.2015, 09:34
AW: Help with money - by Sithis - 24.04.2015, 10:09
Re: Help with money - by BleverCastard - 24.04.2015, 10:16
Re: Help with money - by Jakwob - 24.04.2015, 10:17
Re: Help with money - by Azula - 24.04.2015, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)