United gaming roleplay...compiling errors...:/
#1

i was trying to run and see carrot's united gaming roleplay..its quite nice gm...but i get errors on compiling..

PHP код:
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 010invalid 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 201redefinition 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 017undefined 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 017undefined 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 017undefined 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 204symbol is assigned a value that is never used"query"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
9 Errors

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

PHP код:
//--------------------------------------[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*/ 
Reply
#2

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

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

Update your includes.
Reply
#5

Stop saying that... I updated my includes and still the same result -_-
Reply
#6

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

Quote:
Originally Posted by nicholasramdhan
Посмотреть сообщение
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)