I need help now plz ! (+REP for the Helper) - 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: I need help now plz ! (+REP for the Helper) (
/showthread.php?tid=625247)
I need help now plz ! (+REP for the Helper) -
MarkNelson - 30.12.2016
Hello samp forum users, today i started updating my server and after scripting i tried to compile my script but it's crashed, So i used #endinput to avoid crash but the only problem in this situation i have some errors and i can't fix them i tried two hours fixing and no way so here is the errors.
i have a_samp.inc and console.inc include errors and i have the latest version of those includes and still the same error
look :
Код:
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\console.inc(9) : error 020: invalid symbol name ""
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\console.inc(18) : error 010: invalid function or declaration
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\a_samp.inc(53) : error 021: symbol already defined: "print"
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\a_samp.inc(54) : error 021: symbol already defined: "printf"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
I HOPE YOU GUYS TO HELP ME.
Re: I need help now plz ! (+REP for the Helper) -
iamjems - 30.12.2016
Check out the console include and remove the print and printf functions from it.
Re: I need help now plz ! (+REP for the Helper) -
MarkNelson - 30.12.2016
thanks mate , but still two errors help me more
Код:
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\console.inc(9) : error 020: invalid symbol name ""
C:\Users\infogenie\Desktop\Addictive Trainers V2.6\pawno\include\console.inc(18) : error 010: invalid function or declaration
Re: I need help now plz ! (+REP for the Helper) -
Amads - 30.12.2016
Show us your code
//edit: nvm, realized thats include errors
Re: I need help now plz ! (+REP for the Helper) -
MarkNelson - 30.12.2016
So what i must do ? here is console.inc include script lines
Код:
/* Console input/output functions
*
* © Copyright 1998-2011, ITB CompuPhase
* This file is provided as is (no warranties).
*/
#pragma library Console
const
{
black = 0, /* colours as per the ANSI Escape sequences, ISO 6429 */
red,
green,
yellow,
blue,
magenta,
cyan,
white,
};
native getchar(echo=true);
native getstring(string[], maxlength=sizeof string, bool:pack=true);
native getvalue(base=10, term=0x0d, ...); /* 0x0d == '\r' */
native console(columns, lines);
native clrscr(); /* also resets the cursor to (1,1) */
native clreol();
native gotoxy(x=1, y=1);
native wherexy(&x, &y);
native setattr(foreground=-1, background=-1, highlight=-1);
forward @keypressed(key);
hmm?