SOoo many problems
#1

When I added a new filterscript, I went to recompile the script and it gave me 8 errors, but I realized that it deleted the .amx and now I deleted all the filterscript data and stuff so it was back to how it was, now, everytime I recompile the script it still deletes the .amx. Help?
Reply
#2

It deletes the .amx if you recompile and have errors.
What are the errors? Maybe we can fix them for you.
Reply
#3

Post the error with script line .
Reply
#4

Quote:

C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_GameModeInit.inc(35 ) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 74) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 32 : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 63 : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 707) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 762) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 873) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\pawno\include\PPC_FileOperations.inc( 1004) : error 017: undefined symbol "StripNewLine"
C:\Users\familia\Desktop\New ServerFOLDER\gamemodes\PPC_Trucking.pwn(1487) : warning 203: symbol is never used: "ret_memcpy"

This is my errors.
Reply
#5

Like the Compiler says StripNewLine function isn't defined in your script.

pawn Код:
stock StripNewLine(str[]) // ysi_misc.pwn
{
    new l = strlen(str);
    while (l-- && str[l] <= ' ') str[l] = '\0';
}
Copy this anywhere in your script.
Reply
#6

Thank you.
Reply
#7

No problem. We are here to help someone.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)