Wtf is this!? - 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: Wtf is this!? (
/showthread.php?tid=280708)
Wtf is this!? -
Odyssey - 02.09.2011
Why is it compiling to VIRTUA~1.amx? And not VirtualPilots.amx?
Look at the file path to.
Код:
C:\DOCUME~1\Ed\MYDOCU~1\SA-MPV~1\Server\GAMEMO~1\VIRTUA~1.PWN(138) : warning 203: symbol is never used: "PlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
I know its not a problem but it annoys me. I have to put VIRTUA~1 in the server configuration file.
Sorry if this is the wrong section. I'm guessing this should be in server support.
Re: Wtf is this!? -
Vince - 02.09.2011
Because the name of the script is too long. If you name it, for example, vp.pwn it will compile to vp.amx just fine. The limit before it gets cut of is 16 characters, I think. Including extension.
Re: Wtf is this!? -
[MWR]Blood - 02.09.2011
No.
I just tried with the same name and worked. I really have no idea where does this come from...
Re: Wtf is this!? -
Odyssey - 02.09.2011
I tried the vp.pwn, its compiled fine and there wasn't that funny stuff. But, as I compiled it the second time it went all funny again?
Re: Wtf is this!? -
Zonoya - 02.09.2011
when u get warnings / errors and a long name it does this it doesn't reconise it anymore and shortens the AMX as it makes the AMX all u need to do is rename it and ur fine or fix the warning / error
Re: Wtf is this!? -
[MWR]Blood - 02.09.2011
Quote:
Originally Posted by Odyssey
I tried the vp.pwn, its compiled fine and there wasn't that funny stuff. But, as I compiled it the second time it went all funny again? ![huh](images/smilies/confused.gif)
|
Try re-downloading the server package, and delete your old one.
Re: Wtf is this!? -
Odyssey - 02.09.2011
Quote:
Originally Posted by [MWR]Blood
Try re-downloading the server package, and delete your old one.
|
Nope. Still the same problem.
Re: Wtf is this!? -
Zonoya - 02.09.2011
try my idea Tech
Re : Wtf is this!? -
Alvin007 - 02.09.2011
never saw this before O.o , just change the amx name ?
Re: Wtf is this!? -
Ash. - 02.09.2011
Where is the compile directorry set to (in Pawno there is a drop down menu containing 'Compiler Options' (the compile tab? Can't remember what it's called aha))