OnPlayerTakeDamage
#1

Hello all sorry for my english i have probleme

Код HTML:
C:\Users\Yamaha\Desktop\Counter Strike 0.3z\gamemodes\cs.pwn(1034) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
And


public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
Reply
#2

Get the latest server 0.3z version.
Reply
#3

If you're using YSI, do all this unfortunately...
https://sampforum.blast.hk/showthread.php?tid=488198
Reply
#4

I really not understand how to do this?


forward OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart);

I have erreur
Reply
#5

you don't have to forward the function because its a default function in SAMP. Update your SAMP includes to the new 0.3z files and try to compile again.
Reply
#6

My pawn is 0.3z in what I have to 0.3z?

Function when I set FS no error but after doing my error of
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)