Weird errors? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weird errors? (
/showthread.php?tid=123868)
Weird errors? -
[dN]Eagle - 27.01.2010
Код:
(80) : error 029: invalid expression, assumed zero
(80) : warning 215: expression has no effect
(80) : error 001: expected token: ";", but found ")"
(80) : error 029: invalid expression, assumed zero
(80) : fatal error 107: too many error messages on one line
Line 80+81 :
Код:
hoboflag = CreatePickup(2914, 23, 1313.6967, 749.7015, 15.6935,,0);
richflag = CreatePickup(2993, 23, 1147.5027, 771.0225, 15.6935,0);
Help please?
Re: Weird errors? -
Zafire2008 - 27.01.2010
use this
Код:
hoboflag = CreatePickup(2914, 23, 1313.6967, 749.7015, 15.6935,0);
richflag = CreatePickup(2993, 23, 1147.5027, 771.0225, 15.6935,0);
Re: Weird errors? -
biltong - 27.01.2010
Quote:
Originally Posted by [dN
Eagle ]
Код:
(80) : error 029: invalid expression, assumed zero
(80) : warning 215: expression has no effect
(80) : error 001: expected token: ";", but found ")"
(80) : error 029: invalid expression, assumed zero
(80) : fatal error 107: too many error messages on one line
Line 80+81 :
Код:
hoboflag = CreatePickup(2914, 23, 1313.6967, 749.7015, 15.6935,,0);
richflag = CreatePickup(2993, 23, 1147.5027, 771.0225, 15.6935,0);
Help please?
|
You have one too many commas in hoboflag, before the 0
Re: Weird errors? -
[dN]Eagle - 27.01.2010
Rofl, how come I didn't noticed the extra ",".
Btw now I have got this error :
Код:
(606) : warning 203: symbol is never used: "ret_memcpy"
What's "ret_memcpy"? I don't remember I defined it in my script..
EDIT : Nvm I added this :
Код:
#pragma unused ret_memcpy
Re: Weird errors? -
Zafire2008 - 27.01.2010
Quote:
Originally Posted by [dN
Eagle ]
Rofl, how come I didn't noticed the extra ",".
Btw now I have got this error :
Код:
(606) : warning 203: symbol is never used: "ret_memcpy"
What's "ret_memcpy"? I don't remember I defined it in my script..
EDIT : Nvm I added this :
Код:
#pragma unused ret_memcpy
|
Saids you never use that line
only you have to delete that line
#pragma unused ret_memcpy
Re: Weird errors? -
[dN]Eagle - 27.01.2010
@Zafire2008,
No I must have that line else I will get that error, please don't give me useless information.
Re: Weird errors? -
Zafire2008 - 27.01.2010
Quote:
Originally Posted by [dN
Eagle ]
@Zafire2008,
No I must have that line else I will get that error, please don't give me useless information.
|
ok i am tring to help try deleting ret_memcpy
put like this
#pragma unused
and u said me if you get an error
Re: Weird errors? -
[dN]Eagle - 27.01.2010
Are you retarded? I said I already fixed it, geeesh...
Re: Weird errors? -
Kinetic - 27.01.2010
Quote:
Originally Posted by [dN
Eagle ]
Are you retarded? I said I already fixed it, geeesh...
|
that ret_memcopy function is coming from an include file that you have included in your script.