Compile error.
#1

Hi all today I hav compiled my GM and this gives me these ERRORS:
Quote:

C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10240 ) : error 017: undefined symbol "Scripting_GetPublicsCount"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10242 ) : error 017: undefined symbol "Scripting_GetPublic"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10303 ) : warning 203: symbol is never used: "P_OnPlayerConnect"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10303 ) : warning 203: symbol is never used: "P_OnPlayerDisconnect"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10303 ) : warning 203: symbol is never used: "P_OnPlayerRequestClass"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10303 ) : warning 203: symbol is never used: "P_OnPlayerSpawn"
C:\Users\David\Desktop\RAS\gamemodes\RAS.pwn(10303 ) : warning 203: symbol is never used: "P_OnPlayerUpdate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

On thesse Linies:
Quote:

10236 stock CountZCMDCmds()
10237 {
10238 new cmdBuffer[32], commandCount;
10239
10240 for(new it = 0; it < Scripting_GetPublicsCount(); it++)
10241 {
10242 Scripting_GetPublic(it, cmdBuffer);
10243
10244 if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
10245 }
10246
10247 return commandCount;
10248 }

But the Linie 10303 doesn't EXIST :


Help ME PLEASE!!
Reply
#2

You are missing a include, i cant find atm which one it is.
Reply
#3

Do you include y_scripting to your script?
pawn Код:
#include <YSI\y_scripting>
for the Scripting_GetPublicsCount and Scripting_GetPublic functions.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)