Anti-Team Kill Bug
#6

This 1?
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
 if(killerid == INVALID_PLAYER_ID)
 {
    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
	}
	else
	{
    if(gTeam[killerid] != gTeam[playerid])
	{

	  	SendDeathMessage(killerid,playerid,reason);
		SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
		GivePlayerMoney(killerid, 3000);
	}
	}
 return 1;
}
Reply


Messages In This Thread
Anti-Team Kill Bug - by anassmaroc - 11.08.2015, 21:46
Re: Anti-Team Kill Bug - by youssefehab500 - 11.08.2015, 21:59
Re: Anti-Team Kill Bug - by MichaelJones - 11.08.2015, 22:01
Re : Re: Anti-Team Kill Bug - by anassmaroc - 11.08.2015, 22:09
Re: Anti-Team Kill Bug - by youssefehab500 - 11.08.2015, 22:11
Re : Anti-Team Kill Bug - by anassmaroc - 11.08.2015, 22:14
Re: Anti-Team Kill Bug - by youssefehab500 - 11.08.2015, 22:16
Re : Re: Anti-Team Kill Bug - by anassmaroc - 11.08.2015, 22:17
Re: Anti-Team Kill Bug - by youssefehab500 - 11.08.2015, 22:20
Re: Anti-Team Kill Bug - by HBG - 11.08.2015, 22:30

Forum Jump:


Users browsing this thread: 2 Guest(s)