[Help] Prototype error
#1

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.
Reply
#2

Show the function line?
Reply
#3

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
Reply
#4

Show the script on line of that error.
Reply
#5

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
Reply
#6

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.
Reply
#7

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)
Reply
#8

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,
Reply
#9

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?
Reply
#10

The new a_samp.inc. ^^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)