stats not updating
#4

yes look at my onplayerdeath

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	PlayerInfo[killerid][pKills] ++;
	PlayerInfo[playerid][pDeaths] ++;
	PlayerInfo[killerid][pExp] +=5;
	PlayerInfo[killerid][Money] +=15;
	PlayerInfo[playerid][Money] -=5;
	SetPlayerScore(killerid, PlayerInfo[killerid][pExp]);
	ResetPlayerMoney(killerid);
	ResetPlayerMoney(playerid);
	GivePlayerMoney(killerid, PlayerInfo[killerid][Money]);
	SendDeathMessage(killerid, playerid, reason);
}
Reply


Messages In This Thread
stats not updating - by facekche - 01.08.2015, 16:26
Re: stats not updating - by xVIP3Rx - 01.08.2015, 16:54
Re: stats not updating - by Keyhead - 01.08.2015, 17:17
Re: stats not updating - by facekche - 01.08.2015, 17:54
Re: stats not updating - by xVIP3Rx - 01.08.2015, 18:21
Re: stats not updating - by facekche - 02.08.2015, 03:37
Re: stats not updating - by facekche - 02.08.2015, 05:06
Re: stats not updating - by xVIP3Rx - 02.08.2015, 05:12
Re: stats not updating - by facekche - 02.08.2015, 05:28
Re: stats not updating - by xVIP3Rx - 02.08.2015, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)