My Timer doesnt work, Whats the problem? SetTimer....
#1

i have this in the defines place
Код:
forward Glenparkpuu1funktsioon(param1, Float:param2);

I have this in the right place, So please help me whats wrong
Код:
	if(pickupid == GlenparkPuu1)
	{
	SetTimer("Glenparkpuu1funktsioon", 1000, 0);
	}

Код:
public Glenparkpuu1funktsioon(param1, Float:param2)
{
	new playerid;
  printf("%d, %.2f", param1, param2);
  GivePlayerMoney(playerid, 50);
  SendClientMessage(playerid,ROLLIMANGU_TEKST,"Sa alustasid puuraiumisega");

  return 1;
}
when i enter the pickup it prints the things to console but not ingame and it doesnt give money neither whats the problem?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)