Need help with compiling
#1

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?
Reply
#2

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!
Reply
#3

Yea update foreach, but instead of renaming "arr" just delete it.
Reply
#4

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?
Reply
#5

Show us the script.
Reply
#6

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.
Reply
#7

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.
Reply
#8

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.
Reply
#9

Bump - Day later
Reply
#10

Do what the error says..

Update YSI to the last version.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)