Please help me whit some errors!
#1

Can you please help me whit some errors if u got some free time... Please?

Код:
(30009) : error 025: function heading differs from prototype
(30010) : error 021: symbol already defined: "DistanceCameraTargetToLocation"
(30024) : warning 213: tag mismatch
(30027) : error 025: function heading differs from prototype
(30028) : error 021: symbol already defined: "IsPlayerAimingAt"
(38387) : error 017: undefined symbol "mysql_retrieve_row"
(39767) : error 025: function heading differs from prototype
LINES
Код:
((LINE 30009)) stock DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ, Float:ObjX, Float:ObjY, Float:ObjZ, Float:FrX, Float:FrY, Float:FrZ)
((LINE 30010)) {
((LINE 30024)) return 0;
((LINE 30027)) stock IsPlayerAimingAt(playerid, Float:x, Float:y, Float:z, Float:radius)
((LINE 30028)) {
((LINE 38387)) 	mysql_retrieve_row();
((LINE 39767)) public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
I Hope you guys can help me!
I've also seen that in my a_mysql.inc there is no "mysql_retrieve_row" in it.
Reply
#2

ANYBODY
Reply
#3

Hmmmm... Look again i mean now idk so mutch about SQL but it could maybe be in another .inc. i mean a_samp include files like a GM so that is possible that your SQL .inc contain a include or maybe it is the plugin. But as i said idk really mutch about SQL plugins.

So maybe you should try without them.
Reply
#4

Quote:
Originally Posted by Leo_Black
Посмотреть сообщение
Can you please help me whit some errors if u got some free time... Please?

Код:
(30009) : error 025: function heading differs from prototype
(30010) : error 021: symbol already defined: "DistanceCameraTargetToLocation"
(30024) : warning 213: tag mismatch
(30027) : error 025: function heading differs from prototype
(30028) : error 021: symbol already defined: "IsPlayerAimingAt"
(38387) : error 017: undefined symbol "mysql_retrieve_row"
(39767) : error 025: function heading differs from prototype
LINES
Код:
((LINE 30009)) stock DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ, Float:ObjX, Float:ObjY, Float:ObjZ, Float:FrX, Float:FrY, Float:FrZ)
((LINE 30010)) {
((LINE 30024)) return 0;
((LINE 30027)) stock IsPlayerAimingAt(playerid, Float:x, Float:y, Float:z, Float:radius)
((LINE 30028)) {
((LINE 38387)) 	mysql_retrieve_row();
((LINE 39767)) public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
I Hope you guys can help me!
I've also seen that in my a_mysql.inc there is no "mysql_retrieve_row" in it.
Quote:

DistanceCameraTargetToLocation
OnPlayerShootPlayer

The above 2 are already defined and placed within the script. You have tried to place them in twice.

pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
shouldn't also be placed within curly braces. " { " and " } ". It should have its own section in the script.

Quote:

mysql_retrieve_row

The above isn't defined, meaning the script won't be able to read it. If you need further help and need it fixing, I suggest posting the whole block of script in [ PAWN ] [ /PAWN ] tags and I will take another look. I have bookmarked this thread for 24 hours awaiting your response to keep checking back.

Regards, Ayumi.
Reply
#5

Well i was off for a long time. I want to make my script work again but i still have these errors and i didn't understood you so much.. :/
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)