ublic function lacks forward declaration?
#1

Trying to compile after I made my timer, this is the warning I get


Код:
TDM.pwn(279) : warning 235: public function lacks forward declaration (symbol "myfunction")
The code I wrote

under game mode init
Код:
SetTimer("myfunction",200000, 1);
and the function

Код:
public myfunction(playerid)
{
	SendClientMessage(playerid, COLOR_YELLOW, "Enjoy your stay at Hudgens Funserver");
	return 1;
}
Note: It works fine in-game but I want the code to be clean.
Reply


Messages In This Thread
ublic function lacks forward declaration? - by Hudgens - 31.12.2010, 18:29
Re: ublic function lacks forward declaration? - by iJumbo - 31.12.2010, 18:30
Re: ublic function lacks forward declaration? - by Hudgens - 31.12.2010, 18:33
Re: ublic function lacks forward declaration? - by iJumbo - 31.12.2010, 18:34
Re: ublic function lacks forward declaration? - by Hudgens - 31.12.2010, 18:35
Re: ublic function lacks forward declaration? - by iJumbo - 31.12.2010, 18:37
Re: ublic function lacks forward declaration? - by Hudgens - 31.12.2010, 18:38
Re: ublic function lacks forward declaration? - by [03]Garsino - 31.12.2010, 19:22
Re: ublic function lacks forward declaration? - by Scenario - 31.12.2010, 19:30
Re: ublic function lacks forward declaration? - by [03]Garsino - 31.12.2010, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)