function heading differs from prototype - 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: function heading differs from prototype (
/showthread.php?tid=368731)
function heading differs from prototype -
DestenyRay - 14.08.2012
error 025: function heading differs from prototype
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
new string[128];
if(GetPlayerWeapon(Shooter) == 34 && PlayerInfo[Shooter][pScope] && Hitman[Shooter] == Target)
{
SetPlayerHealth(Target, 0);
if(Hitman[Shooter] == Target)
{
Re: function heading differs from prototype -
IceMeteor - 14.08.2012
I think it's because the different between forward and public, CMIIW. Show us the forward one