npc compile problem
#2

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;
}

Reply


Messages In This Thread
npc compile problem - by rtydrtyd - 17.10.2009, 22:56
Re: npc compile problem - by Luka P. - 17.10.2009, 23:08
Re: npc compile problem - by rtydrtyd - 17.10.2009, 23:19
Re: npc compile problem - by rtydrtyd - 17.10.2009, 23:37
Re: npc compile problem - by Luka P. - 17.10.2009, 23:42
Re: npc compile problem - by rtydrtyd - 17.10.2009, 23:54
Re: npc compile problem - by rtydrtyd - 18.10.2009, 00:00
Re: npc compile problem - by Beaver07 - 18.10.2009, 01:50
Re: npc compile problem - by rtydrtyd - 18.10.2009, 02:35
Re: npc compile problem - by rtydrtyd - 18.10.2009, 03:34

Forum Jump:


Users browsing this thread: 3 Guest(s)