24.04.2015, 09:34
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.
I will rep the help i get
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);
}