OnPlayerTakeDamage
#7

Quote:
Originally Posted by ThatThoseTheThy
Посмотреть сообщение
Yes I am sure, even used a bare.pwn script for a quick check.

Still the same:

Код:
C:\Users\msi\Desktop\SAMP_DS\samp03z_svr_R1_win32\samp03z_svr_R1_win32\gamemodes\bare.pwn(119) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
The 'bodypart' parameter exists in 0.3z R1. Go to samp03z_svr_R1_win32\pawno\include and open a_samp.inc
Do Ctrl + F and type "takedamage" (without "").

Is the line it finds like this?
pawn Код:
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid);
If yes, the a_samp.inc is not for 0.3z
It should be:
pawn Код:
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
EDIT: I was writing and didn't refresh.
Reply


Messages In This Thread
OnPlayerTakeDamage - by ThatThoseTheThy - 07.06.2014, 17:05
Re : OnPlayerTakeDamage - by S4t3K - 07.06.2014, 17:08
Re: OnPlayerTakeDamage - by Konstantinos - 07.06.2014, 17:09
Re: OnPlayerTakeDamage - by ThatThoseTheThy - 07.06.2014, 17:10
Re : OnPlayerTakeDamage - by Chipardeur - 07.06.2014, 17:11
Re: OnPlayerTakeDamage - by ThatThoseTheThy - 07.06.2014, 17:14
Re: OnPlayerTakeDamage - by Konstantinos - 07.06.2014, 17:18

Forum Jump:


Users browsing this thread: 2 Guest(s)