SOoo many problems - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SOoo many problems (
/showthread.php?tid=394347)
SOoo many problems -
OGKushStyles - 22.11.2012
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?
Re: SOoo many problems -
Forever Alone - 22.11.2012
It deletes the .amx if you recompile and have errors.
What are the errors? Maybe we can fix them for you.
Re: SOoo many problems -
M3mPHi$_S3 - 22.11.2012
Post the error with script line .
Re: SOoo many problems -
OGKushStyles - 22.11.2012
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.
AW: SOoo many problems -
Skimmer - 22.11.2012
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.
Re: SOoo many problems -
OGKushStyles - 22.11.2012
Thank you.
AW: SOoo many problems -
Skimmer - 22.11.2012
No problem. We are here to help someone.