#1

Hi all,

Im trying to build an anti teamkill system,

public OnPlayerGiveDamage(playerid, killerid, Float: amount, weaponid, bodypart)
{
if(PlayerInfo[killerid][gangid] == PlayerInfo[playerid][gangid])
{
SendClientMessage(playerid,COLORE_ROSSO, "Anti Teamkill:Stop shoot your gang members!");
}
return 1;
}

I have add killerid => https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage ,and i got this "error error 025: function heading differs from prototype", how i can resove it? without remove "killerid"?
Reply


Messages In This Thread
Help - by BlackEvils - 01.05.2015, 08:36
Re : Help - by StreetRP - 01.05.2015, 08:39
Re: Re : Help - by BlackEvils - 01.05.2015, 08:43
Re : Help - by StreetRP - 01.05.2015, 08:45
Re: Re : Help - by BlackEvils - 01.05.2015, 08:51
Re : Help - by StreetRP - 01.05.2015, 08:52

Forum Jump:


Users browsing this thread: 1 Guest(s)