Gamemode errors
#1

Код:
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(13133) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(13609) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange")
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(13614) : warning 235: public function lacks forward declaration (symbol "OnTrailerUpdate")
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(13634) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageActor")
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(107761) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(108036) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(109042) : error 017: undefined symbol "DestroyActor"
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(117447) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(137400) : warning 203: symbol is never used: "GetVehicleIDByName"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
HELP ME PLEASE.
Reply
#2

Код:
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(107764) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\server\gamemodes\fggrp.pwn(108039) : error 025: function heading differs from prototype.
2 Errors
I fixed some errors, help me with the current now.


LINE 107764
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
LINE 108039
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
both are same, help me.
Reply
#3

probably your forward of OnPlayerTakeDamage function is having the old parameters [ missing bodypart ].

so either go to somewhere in includes and change
PHP код:
forward OnPlayerTakeDamage(playeridissueridFloat:amountweaponid); 
to

PHP код:
OnPlayerTakeDamage(playeridissueridFloat:amountweaponidbodypart); 
or simply remove bodypart from your public functions parameters.
Reply
#4

Jhalt, do you have teamviewer?
Reply
#5

Quote:
Originally Posted by Furqan
Посмотреть сообщение
Jhalt, do you have teamviewer?
yes I do, you can give me your id and password on private pm D:
Reply
#6

I checked it in a_samp include it says
Код:
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart);
Reply
#7

Thank you so much Jhalt, fixed it with the help of you. <3
Reply
#8

I had this problem also
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)