function heading differs from prototype
#1

Hi guys,

I get these errors :

PHP код:
C:\Users\acer\Desktop\MAJ CRTFC2 Copie\gamemodes\GMRPGV1.0.pwn(1179) : error 025: function heading differs from prototype
C
:\Users\acer\Desktop\MAJ CRTFC2 Copie\gamemodes\GMRPGV1.0.pwn(1179) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
2 Errors

Line :

PHP код:
public OnPlayerTakeDamage(playeridissueridFloat:amountweaponidbodypart) { 
Reply
#2

"bodypart" parameter was added in 0.3z so the includes (a_samp.inc) you're trying to compile the script with is not updated.
Reply
#3

What souhld i do ?
Reply
#4

Update executable and includes files to 0.3.7 and re-compile the scripts.
Reply
#5

I couldn't find a_samp last version include, if you have a link could you give it to me please ?
Reply
#6

There is a whole section for it "News and Updates". Open the thread for 0.3.7 and you'll find the page for downloads. You'll also find the server package (for Windows) there.

Not that hard.
Reply
#7

Omg.. IT WORKS!

Really Helped. <3

+Rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)