I get 1 error when compiling
#1

I am trying to learn how to script and I looked up a teams tutorial on how to make teams, and everything works but AddPlayerClass, this is the error I get

Код:
C:\Users\dakota pittman\Desktop\ZC-RP\filterscripts\ZRPTeams.pwn(39) : error 021: symbol already defined: "AddPlayerClass"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Any help, I know this maybe a VERY simple problem to solve.
Reply
#2

Make sure, you added player classes under OnGameModeInit.

Like this:
pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(....);
    return 1;
}
Reply
#3

Yep, figured it out now, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)