Quote:
Originally Posted by rtydrtyd
wen i try to compile my script with the npc stuff i get
Quote:
C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1322) : error 021: symbol already defined: "ConnectNPC"
C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1324) : error 021: symbol already defined: "OnGameModeInit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
|
and i have no idea what to do scripting noob ftl here's what i did
Quote:
ConnectNPC("ROBERT","mynpc");
public OnGameModeInit()
{
print("SAGC");
ConnectNPC("ROBERT","mynpc");
return 1;
}
|
|
Open 'Find' with CTRL + F and find OnGameModeInit(), delete it
and make sure there's no OnGameModeInit in script.
Now write this code
pawn Код:
public OnGameModeInit()
{
print("SAGC");
ConnectNPC("ROBERT","mynpc");
return 1;
}