error 010: invalid function or declaration -
N0SsL0 - 23.04.2014
Help? Please error 010: invalid function or declaration
Re: error 010: invalid function or declaration -
Konstantinos - 23.04.2014
The error itself doesn't make any sense. You need to post the line that gave the error (and atleast 1 line above/below it).
Re: error 010: invalid function or declaration -
N0SsL0 - 23.04.2014
AddPlayerClass(29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); is the line
Re: error 010: invalid function or declaration -
NoahF - 23.04.2014
You need to add coordinates. Not sure if this will fix the problem or not.
Re: error 010: invalid function or declaration -
Konstantinos - 23.04.2014
Have you added that line in OnGameModeInit callback? Using it outside of any callback will give that error.
Re: error 010: invalid function or declaration -
N0SsL0 - 23.04.2014
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Is it right?
Re: error 010: invalid function or declaration -
MMOSlot - 23.04.2014
That looks right to me.. Copy and paste line 10 here
Re: error 010: invalid function or declaration -
yvoms - 23.04.2014
pawn Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
That seems right,
Could u give me the error line?
Re: error 010: invalid function or declaration -
N0SsL0 - 24.04.2014
Fixed!! Thanks for the help!