Got problem using custom public... [SOLVED]
#1

Код:
#define PAY_TIME 20000
#define CAR_TOWNING_PAY 20

forward StartPayingToCarTowning(playerid);
I have timer for public StartPayingToCarTowning...
Код:
SetTimer("StartPayingToCarTowning", PAY_TIME, 1);
and public
Код:
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;
}
The problem is: Person who should get pay, just don't get it... it just start spamming to console
"20 second has passed and pay has been awarded for asfasg"


What's the problem? :S

This is solved now.
Reply


Messages In This Thread
Got problem using custom public... [SOLVED] - by woaha - 29.11.2009, 14:13
Re: Got problem using custom public... - by DeathOnaStick - 29.11.2009, 14:20
Re: Got problem using custom public... - by dice7 - 29.11.2009, 15:21
Re: Got problem using custom public... - by woaha - 29.11.2009, 16:26

Forum Jump:


Users browsing this thread: 2 Guest(s)