29.11.2009, 14:13
Код:
#define PAY_TIME 20000 #define CAR_TOWNING_PAY 20 forward StartPayingToCarTowning(playerid);
Код:
SetTimer("StartPayingToCarTowning", PAY_TIME, 1);
Код:
public StartPayingToCarTowning(playerid) { new string[48]; GivePlayerMoney(playerid, CAR_TOWNING_PAY); format(string, sizeof(string), "PAYDAY: You have been gained %s", CAR_TOWNING_PAY); SendClientMessage(playerid, COLOR_WHITE, string); print("20 second has passed and pay has been awarded for asfasg"); return 0; }
"20 second has passed and pay has been awarded for asfasg"
What's the problem? :S
This is solved now.