SA-MP Forums Archive
1 error !! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 1 error !! (/showthread.php?tid=132269)



1 error !! - Pawel2k9 - 07.03.2010

pawn Код:
forward time2();
public time2();
{
    SetWeather(1);
}
pawn Код:
public OnGameModeInit()
{
    SetTimerEx("time2", 500, 1, "i");
error :
Код:
: error 055: start of function body without function header



Re: 1 error !! - Correlli - 07.03.2010

You don't need the ; at public time2(); and use SetTimer function at this case.