Players Number
#5

Quote:
Originally Posted by IceSKull
Посмотреть сообщение
Who killed them!
In that case:

Код:
new deathcount;

public OnPlayerDeath(playerid, killerid, reason)
{
	if (IsPlayerInArea (playerid, ...))
	{
		deathcount++;

		if(killerid != INVALID_PLAYER_ID)
		{
			SetPlayerScore (killerid, deathcount);
		}
	}
	
	return 1;
}
Reply


Messages In This Thread
Players Number - by IceSKull - 08.04.2017, 11:35
Re: Players Number - by LEOTorres - 08.04.2017, 11:45
Re: Players Number - by Odeath - 08.04.2017, 11:52
Re: Players Number - by IceSKull - 08.04.2017, 11:54
Re: Players Number - by LEOTorres - 08.04.2017, 11:56
Re: Players Number - by IceSKull - 08.04.2017, 11:58
Re: Players Number - by LEOTorres - 08.04.2017, 12:03
Re: Players Number - by IceSKull - 08.04.2017, 12:05
Re: Players Number - by Odeath - 08.04.2017, 12:15
Re: Players Number - by LEOTorres - 08.04.2017, 12:30

Forum Jump:


Users browsing this thread: 2 Guest(s)