error 010: invalid function or declaration
#1

Can someone help me to fix this error?

Код:
  new string[256];
		format(string, sizeof(string), "((%s: %s))", GetPlayerNameEx(playerid), params);
		OOCOff(COLOR_OOC,string);
		return 1;

	}
	return 1;
}
Код:
C:\Users\Ramin\Desktop\Spel\PL-RP\gamemodes\PLRP.pwn(40002) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

i haven't seen your full code so maybe this will not work but try it

pawn Код:
new string[256];
    format(string, sizeof(string), "((%s: %s))", GetPlayerNameEx(playerid), params);
    OOCOff(COLOR_OOC,string);
    return 1;
}
Reply
#3

Quote:
Originally Posted by pds2012
Посмотреть сообщение
i haven't seen your full code so maybe this will not work but try it

pawn Код:
new string[256];
    format(string, sizeof(string), "((%s: %s))", GetPlayerNameEx(playerid), params);
    OOCOff(COLOR_OOC,string);
    return 1;
}
Thanks for the help!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)