How to fix this?
#1

Hello,
I'm working on a team selection and I get this error:


I added the #DEFINE and all the stuff.
Someone knows how to fix this?
Thanks.
Reply
#2

You can't make a function inside of a callback.

You can only call it.
Reply
#3

What I have to do to get it working?
Reply
#4

Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid);
return 1;
}

SetPlayerTeamFromClass(playerid, classid)

And here all your if(classid = 0) etc
but I can fix me if you give me the whole code from the first error line to the last if(classid = x) You know?

Not 100%sure if it works...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)