Invalid Function or declaration
#1

Error lines help me please
Код:
C:\Users\p\Desktop\CNR\gamemodes\Test.pwn(656) : error 010: invalid function or declaration
C:\Users\p\Desktop\CNR\gamemodes\Test.pwn(658) : error 010: invalid function or declaration
C:\Users\p\Desktop\CNR\gamemodes\Test.pwn(660) : error 010: invalid function or declaration

Код:
Timer:ServerTimer[1000]()//Line 656
{
	foreach(Player, i)//Line 658
	{
		if(MW == 1)//Line 660
		{
			SetPlayerMarkerForPlayer(i, MWPlayer, COLOR_RED);
		}
	}
}
Reply
#2

Are you probably using the latest YSI includes if yes

then calling out timers would be like this
PHP код:
task Update[time]()
{
    
//do something here
    
return 1;

if not then what include version is it?
Reply
#3

Fixed i forgot to put a #include <YSI\y_timers> in top of my GM
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)