PDA

View Full Version : United gaming roleplay...compiling errors...:/


Ritzy2K
17/01/2015, 06:26 AM
i was trying to run and see carrot's united gaming roleplay..its quite nice gm...but i get errors on compiling..

F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(413) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(415) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(418) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(301) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47925) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47926) : error 017: undefined symbol "TextDrawSetPreviewRot"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47940) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47941) : error 017: undefined symbol "TextDrawSetPreviewRot"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47955) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47956) : error 017: undefined symbol "TextDrawSetPreviewRot"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(109422) : warning 213: tag mismatch
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(124359) : warning 204: symbol is assigned a value that is never used: "query"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.


Lne 415 and 418...tho they are blocked idk why it happens still..this is line 404 to 420.

//--------------------------------------[TURF WAR]------------------------------------
/*#define COLOR_TWWHITE 0xFFFFFFAA
#define COLOR_TWYELLOW 0xFFFF00AA
#define COLOR_TWPINK 0xE75480AA
#define COLOR_TWRED 0xFF0000AA
#define COLOR_TWBROWN 0x654321AA
#define COLOR_TWGRAY 0x808080AA
#define COLOR_TWOLIVE 0x808000AA
#define COLOR_TWPURPLE 0x800080AA
#define COLOR_TWTAN 0xD2B48CAA
#define COLOR_TWAQUA 0x00FFFFAA
#define COLOR_TWORANGE 0xFF8C00AA
#define COLOR_TWAZURE 0x007FFFAA
#define COLOR_TWGREEN 0x008000AA
#define COLOR_TWBLUE 0x0000FFAA
#define COLOR_TWBLACK 0x000000AA
#define TW_WAITDELAY 5 // TESTING*/

Lynn
17/01/2015, 06:38 AM
Possibly caused by Using a extra bracket, or a missing bracket.
Need code to tell you a better diagnostic.

F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(413) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(415) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(418) : error 010: invalid function or declaration


isnull is defined twice in your script.
Possibly once by your script, and again in a include, or twice in your script.
Search isnull in your script and commet it out(Where the actually stock is.)
Then recompile.

F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(301) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")


You are not using the newest a_samp include, download the latest 0.3z server package, open new.pwn, load your script from that, and then compile. That way the new include is loaded to the script.

F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47925) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47926) : error 017: undefined symbol "TextDrawSetPreviewRot"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47940) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47941) : error 017: undefined symbol "TextDrawSetPreviewRot"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47955) : error 017: undefined symbol "TextDrawSetPreviewModel"
F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(47956) : error 017: undefined symbol "TextDrawSetPreviewRot"


Once again, code on like 109422 would be usefull, however;
It's caused when something is done like this:
SendClientMessage(0xFFFFFF, "Message");
Instead of;
SendClientMessage(playerid, 0xFFFFFF, "Message");
SendClientMessage is just an example.

F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(109422) : warning 213: tag mismatch


Somewhere you are using: new query
and it's never being used, if it's only defined once delete it.
Otherwise, find where it's not being used and delete it from that area.

F:\Saadat (Pink_Panther's Cops and Robbers\gamemodes\UG-RP.pwn(124359) : warning 204: symbol is assigned a value that is never used: "query"

nicholasramdhan
10/03/2015, 03:19 AM
Your reply to his question don't even give an answer. None of your helps never give answer. You just say something then expect for us to figure it out. If we were that skilled as you, we wouldn't be asking you... Give direct answers or don't answer at all... seriously..

The__
10/03/2015, 03:28 AM
Update your includes.

nicholasramdhan
10/03/2015, 03:32 AM
Stop saying that... I updated my includes and still the same result -_-

The__
10/03/2015, 03:37 AM
TextDrawSet stuff is from SA-MP includes, so if you're getting them errors still, then no, you didn't update your includes.


F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(413) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(415) : error 010: invalid function or declaration
F:\Saadat (Pink_Panther's Cops and Robbers\pawno\include\cuff.inc(418) : error 010: invalid function or declaration

You also need to show us the LINES of cuff.inc. Not the gamemode.

CalvinC
10/03/2015, 06:04 AM
Your reply to his question don't even give an answer. None of your helps never give answer. You just say something then expect for us to figure it out. If we were that skilled as you, we wouldn't be asking you... Give direct answers or don't answer at all... seriously..

He's giving you clear answers, so why are you complaining?
If you don't understand it properly, ask instead of getting pissed off that people are helping.