SA-MP Forums Archive
Compiling reading from 2 Dir..?? - 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: Compiling reading from 2 Dir..?? (/showthread.php?tid=197548)



Compiling reading from 2 Dir..?? - Abraham2nds - 09.12.2010

Код:
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(262) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(284) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(406) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(407) : error 017: undefined symbol "CreatePlayer3DTextLabel"
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(408) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(409) : error 017: undefined symbol "DeletePlayer3DTextLabel"
C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\pawno\include\streamer.inc(427) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3388) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3389) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3390) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3392) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3394) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3395) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3396) : error 017: undefined symbol "ConnectNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3449) : error 017: undefined symbol "Create3DTextLabel"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3452) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3454) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3455) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3456) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(3457) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(4834) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(4842) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(4850) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5246) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5874) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5899) : error 017: undefined symbol "SetPlayerFightingStyle"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5903) : error 017: undefined symbol "SetPlayerFightingStyle"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5906) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5963) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(5982) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(6279) : error 017: undefined symbol "PlayCrimeReportForPlayer"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(6432) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Abraham2\Desktop\My Servers\New Folder\gamemodes\LSCNR.pwn(6433) : error 017: undefined symbol "IsPlayerNPC"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Look closely and you can see its compiling to 2 different locations? Help?


Re: Compiling reading from 2 Dir..?? - Geso - 09.12.2010

You're using the pawno.exe from the C:\Documents and Settings\Abraham2\Desktop\My Servers\Real World RPG=CNR\ directory to compile the script in the other directory. Perfectly normal

First 7 errors are in the include, other ones are in the script.


Re: Compiling reading from 2 Dir..?? - __ - 09.12.2010

#include <something> tries to compile *.inc in the pawno/includes folder, it's doing what you have instructed it to do.

Judging by the errors, you need to update your includes to the latest stable server version (0.3b), as it looks as if you are trying to compile the script with older includes, or you have not included a_samp in your script, but the functions causing the errors are functions that appear to have been implemented in recent SA-MP versions.


Re: Compiling reading from 2 Dir..?? - Abraham2nds - 09.12.2010

Thank you Geso...My pawno.exe wasnt in folder pawno LOL what a fail
BTW join my server with Cops n Robbers Gamemode...its a BMUK Scritp..i got his permission to use it 0.3b Workable
Server: HostName: Abe's CnR
Address:190.213.37.167:7777
Players: X/ 32
Ping: X
Mode: Cops And Robbers
Map: San Andreas
Website:Http://abescnr.hostei.com