Error 29
#1

I have been trying to fix this for at least 20 minutes, I haven't found any useful topics about it either...


Quote:

: warning 235: public function lacks forward declaration (symbol "OnPlayerModeInit")
: error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.


Code:
Quote:

public OnPlayerModeInit()
{
SetGameModeText(GameMode);
return;
}


public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo(playerid, 0, 121, Spawn_X, Spawn_Y, Spawn_Z, 0, -1, ,-1 ,-1 ,-1 ,-1 ,-1);ERROR 29 ON THIS LINE
GivePlayerMoney(playerid, 100);
SpawnPlayer(playerid);
return 1;
}

Reply


Messages In This Thread
Error 29 - help... - by Ramboi - 18.07.2017, 08:19
Re: Error 29 - by AbyssMorgan - 18.07.2017, 08:28
Re: Error 29 - by Ramboi - 18.07.2017, 08:32
Re: Error 29 - by Rolux - 18.07.2017, 09:29
Re: Error 29 - by Ramboi - 18.07.2017, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)