Need help with compiling -
RampaGeuse - 29.03.2013
C:\Users\Gebruiker\Desktop\Original RLRP script\pawno\include\foreach.inc(156) : error 010: invalid function or declaration
C:\Users\Gebruiker\Desktop\Original RLRP script\pawno\include\foreach.inc(15

: error 021: symbol already defined: "arr"
C:\Users\Gebruiker\Desktop\Original RLRP script\pawno\include\foreach.inc(159) : error 010: invalid function or declaration
C:\Users\Gebruiker\Desktop\Original RLRP script\pawno\include\foreach.inc(974) : warning 219: local variable "arr" shadows a variable at a preceding level
C:\Users\Gebruiker\Desktop\Original RLRP script\gamemodes\internationalrp.pwn(19641) : warning 204: symbol is assigned a value that is never used: "hostname"
C:\Users\Gebruiker\Desktop\Original RLRP script\gamemodes\internationalrp.pwn(47241) : warning 203: symbol is never used: "arr"
Pawn compiler 3.2.3664 Copyright (coffee) 1997-2006, ITB CompuPhase
3 Errors.
This is what I get when I try to compile the script. How to fix them? Anyone?
Re: Need help with compiling -
Konstantinos - 29.03.2013
1. Include - Update foreach include.
2. Gamemode - "hostname" holds a value, but you're not using it in anything. Last, re-name "arr" from your gamemode to something else!
Re: Need help with compiling -
Dopefull - 01.04.2013
Yea update foreach, but instead of renaming "arr" just delete it.
Re: Need help with compiling -
NL-Sultan - 03.04.2013
I'm the one who has this error, RampaGeuse posted it for me.
Thank you
-
I updated foreach.inc and I'm getting now a warning, but it at least compiles, here is the warning that I'm getting:
Quote:
C:\Users\Gebruiker\Desktop\Original RLRP script\gamemodes\internationalrp.pwn(19641) : warning 204: symbol is assigned a value that is never used: "hostname"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
|
Can someone describe how I fix this warning and can this warning do any harm/damage or will it harm any of the gameplay?
Re: Need help with compiling -
Rube - 03.04.2013
Show us the script.
Re: Need help with compiling -
NL-Sultan - 03.04.2013
Quote:
Originally Posted by Rube
Show us the script.
|
Quote:
#define HOSTNAME ("hostname Vertical Roleplay [Hardcore RP]")
|
That's the only line where 'hostname' has been used, I don't see anything wrong in it though.
Re: Need help with compiling -
FUNExtreme - 03.04.2013
Quote:
Originally Posted by NL-Sultan
That's the only line where 'hostname' has been used, I don't see anything wrong in it though.
|
The error means that you have that define but that's it's not used anywhere. You can pretty much just remove that line.
Re: Need help with compiling -
NL-Sultan - 03.04.2013
So, it compiles (with a warning though) but still. Now when I run samp_server.exe this error will display in the client:
Cause of this the server wont even run.
Re: Need help with compiling -
NL-Sultan - 04.04.2013
Bump - Day later
Re: Need help with compiling -
Konstantinos - 04.04.2013
Do what the error says..
Update YSI to the last version.