Please Help
#1

hello
i have a problem with my friend's gamemode when i want to compile it
please help me to fix it
and sorry for my bad english
Код:
F:\22222222222\gamemodes\GM.pwn(148) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
F:\22222222222\gamemodes\GM.pwn(3516) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
F:\22222222222\gamemodes\GM.pwn(3521) : error 025: function heading differs from prototype
F:\22222222222\gamemodes\GM.pwn(3533) : error 025: function heading differs from prototype
F:\22222222222\gamemodes\GM.pwn(10157) : error 017: undefined symbol "cache_get_row_count"
F:\22222222222\gamemodes\GM.pwn(10159) : error 017: undefined symbol "cache_get_row"
F:\22222222222\gamemodes\GM.pwn(10160) : error 017: undefined symbol "cache_get_row"
F:\22222222222\gamemodes\GM.pwn(13066) : warning 202: number of arguments does not match definition
F:\22222222222\gamemodes\GM.pwn(13368) : warning 202: number of arguments does not match definition
F:\22222222222\gamemodes\GM.pwn(13644) : warning 202: number of arguments does not match definition
F:\22222222222\gamemodes\GM.pwn(14683) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14689) : error 017: undefined symbol "cache_get_row_int"
F:\22222222222\gamemodes\GM.pwn(14690) : error 017: undefined symbol "cache_get_row_int"
F:\22222222222\gamemodes\GM.pwn(14691) : error 017: undefined symbol "cache_get_row_int"
F:\22222222222\gamemodes\GM.pwn(14692) : error 017: undefined symbol "cache_get_row_int"
F:\22222222222\gamemodes\GM.pwn(14693) : error 017: undefined symbol "cache_get_row"
F:\22222222222\gamemodes\GM.pwn(14703) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14710) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14716) : error 017: undefined symbol "cache_get_row_count"
F:\22222222222\gamemodes\GM.pwn(14719) : error 017: undefined symbol "cache_get_row"
F:\22222222222\gamemodes\GM.pwn(14720) : error 017: undefined symbol "cache_get_row_float"
F:\22222222222\gamemodes\GM.pwn(14721) : error 017: undefined symbol "cache_get_row_float"
F:\22222222222\gamemodes\GM.pwn(14722) : error 017: undefined symbol "cache_get_row_float"
F:\22222222222\gamemodes\GM.pwn(14723) : error 017: undefined symbol "cache_get_row_float"
F:\22222222222\gamemodes\GM.pwn(14746) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14748) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14750) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14752) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14754) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14756) : error 017: undefined symbol "mysql_function_query"
F:\22222222222\gamemodes\GM.pwn(14758) : error 017: undefined symbol "mysql_function_query"

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


26 Errors.
Reply
#2

First of all, show us your code.
Second of all, for those undefined symbols download SQL plugin & include.

For this
PHP код:
warning 201redefinition of constant/macro (symbol "COLOR_BLUE"
It means you are trying to define color blue 2 times

And for this
PHP код:
F:\22222222222\gamemodes\GM.pwn(3516) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot"
Update your server with latest samp patch
Reply
#3

add a proper mysql include to pawno/includes folder.
Reply
#4

Update your mysql plugins and include..

Quote:

warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")

Thats wrong,

Add on top your gamemode

PHP код:
#define COLOR_BLUE                0x0000BBAA 
And update more your include ..
Reply
#5

Quote:
Originally Posted by TwinkiDaBoss
Посмотреть сообщение
First of all, show us your code.
Second of all, for those undefined symbols download SQL plugin & include.

For this
PHP код:
warning 201redefinition of constant/macro (symbol "COLOR_BLUE"
It means you are trying to define color blue 2 times

And for this
PHP код:
F:\22222222222\gamemodes\GM.pwn(3516) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot"
Update your server with latest samp patch
Its a RP gamemode
i downloaded the mysql R7
but it doesnt work
can you give me a link?
Reply
#6

If you want The plugins/include of mysql please click here to View
And For
PHP код:
warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot"
Please download this and copy all files to your folder pawno/include Click here
If you need some furture pliss reply and if work Please +rep for me
Reply
#7

This is probably a leaked script.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)