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

Quote:
Originally Posted by dice7
The return has absolutely no effect on timers. On SetTimer change the third parameter to false
It just stop repeating it...
Still no effect when money should be added.
It doesn't not even print "PAYDAY: You have been gained %s" message to client... when it should.
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
	{
	if	(newstate==PLAYER_STATE_DRIVER)
	  {
		if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 525)
		{
 		  print("Starting timer for PayCheckTowing...");
 		  SetTimer("StartPayingToCarTowning", PAY_TIME, false);
 		  print("Timer started...");
 		}
		if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 416)
 		{
 		  print("Starting timer for PayCheckAmbulance...");
 		  SetTimer("PayCheckAmbulance", PAY_TIME, false);
 		  print("Timer started...");
 		}
  }
 return 1;
}
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)