[Ajuda] Erro OnPlayerTakeDamage - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erro OnPlayerTakeDamage (
/showthread.php?tid=572500)
Erro OnPlayerTakeDamage -
Tiger157000 - 28.04.2015
ERRO:
pawn Код:
error 025: function heading differs from prototype
LINHA:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, Float:ArmourLost, weaponid){
Re: Erro OnPlayerTakeDamage -
NikiFor - 28.04.2015
Quote:
Originally Posted by Tiger157000
ERRO:
pawn Код:
error 025: function heading differs from prototype
LINHA:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, Float:ArmourLost, weaponid){
|
A funзгo estб diferente daque o compilador reconhece...
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
Recomendo ler isto:
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
Como nгo explicou nad, espero que seja essa a soluзгo