SA-MP Forums Archive
[Help] Prototype error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Prototype error (/showthread.php?tid=579094)



[Help] Prototype error - BigGreen - 24.06.2015

Hello i need help with a problem i got i was told by my hosting service to update my plugins and recompile it and i did but i get this error when i compile it


Code:
C:\Users\:D\Desktop\script\gamemodes\AGRP.pwn(34177) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: [Help] Prototype error - Evocator - 24.06.2015

Show the function line?


Re: [Help] Prototype error - BigGreen - 24.06.2015

Quote:
Originally Posted by Ralfie
View Post
Show the function line?
I dont know where it is all i did was update the streamer plugin and recompile it so it can work on the hosting servers and i get that error prototype


Re: [Help] Prototype error - X337 - 24.06.2015

Show the script on line of that error.


Re: [Help] Prototype error - BigGreen - 24.06.2015

Quote:
Originally Posted by bondowocopz
View Post
Show the script on line of that error.
When i do CTRL F and i type Prototype it doesnt give me anything


Re: [Help] Prototype error - X337 - 24.06.2015

Quote:
Originally Posted by BigGreen
View Post
When i do CTRL F and i type Prototype it doesnt give me anything
Hmm, open AGRP.pwn press CTRL+G go to line 34177.
Copy the script on that line, paste here.


Re: [Help] Prototype error - BigGreen - 24.06.2015

Quote:
Originally Posted by bondowocopz
View Post
Hmm, open AGRP.pwn press CTRL+G go to line 34177.
Copy the script on that line, paste here.
Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)



Re : [Help] Prototype error - KillerDVX - 24.06.2015

It's easy,

You're having a such old a_samp.inc.

Change it with a_samp.inc of 0.3.7 and recompile. ^^

Pastebin

KillerDVX,



Re: Re : [Help] Prototype error - BigGreen - 24.06.2015

Quote:
Originally Posted by KillerDVX
View Post
It's easy,

You're having a such old a_samp.inc.

Change it with a_samp.inc of 0.3.7 and recompile. ^^

Pastebin

KillerDVX,
Whats the pastebin link for?


Re : [Help] Prototype error - KillerDVX - 24.06.2015

The new a_samp.inc. ^^