Invalid Function Call
#1

Hello, I'm having a problem with enums and functions..

I get the error:
Код:
../Modules/Commands.pwn(3) : error 012: invalid function call, not a valid address
../Modules/Commands.pwn(3) : warning 215: expression has no effect
../Modules/Commands.pwn(3) : warning 215: expression has no effect
../Modules/Commands.pwn(3) : error 001: expected token: ";", but found ")"
../Modules/Commands.pwn(3) : error 029: invalid expression, assumed zero
../Modules/Commands.pwn(3) : fatal error 107: too many error messages on one line
from this code:
Код:
1 | CMD:tutorial(playerid, params[])
2 | {
3 | 	Tutorial(playerid, TempData[playerid][tutorialCount]);
4 | 	return 1;
5 | }
When I comment out the bool:Tutorial in my enum.. it seems to work.
Код:
155 | enum Temp_Data
156 | {
157 | 	bool:Tutorial
158 | }
Reply


Messages In This Thread
Invalid Function Call - by MotherDucker - 31.07.2015, 22:09
Re: Invalid Function Call - by zT KiNgKoNg - 31.07.2015, 22:14
Re: Invalid Function Call - by MotherDucker - 31.07.2015, 22:18
Re: Invalid Function Call - by Vince - 31.07.2015, 22:34

Forum Jump:


Users browsing this thread: 2 Guest(s)