Need help!!!
#1

Ok so i was creating a DM script and i got most of it to work but i can't get this error to work ( i can't fix it ) i've looked for a solution but i haven't found one.

Код:
error 017: undefined symbol "classid"
And this are the lines

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerToTeamColor(playerid);
  
  	if (classid == 0)
	{
		gTeam[playerid] = TEAM_GROVE;
	}
	else
	{
		gTeam[playerid] = TEAM_BALLA;
	}
	return 1;
}
Reply
#2

erm i guess you need to put that under " OnPlayerRequestClass(playerid,classid) " Callback
Reply
#3

Quote:
Originally Posted by silvan
erm i guess you need to put that under " OnPlayerRequestClass(playerid,classid) " Callback
Oh i see the problem there, thank you for helping me.
Reply
#4

np
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)