Strange issue: SetPlayerScore(playerid);
#2

Try this.

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        new newscore = GetPlayerScore(playerid) --;
        SendDeathMessage(killerid, playerid, reason);
	SetPlayerScore(playerid, newscore);
	if(killerid != INVALID_PLAYER_ID){SetPlayerScore(killerid,GetPlayerScore(killerid)+1);}
        return 1;
}
Reply


Messages In This Thread
Strange issue: SetPlayerScore(playerid); - by Galletziz - 07.10.2015, 07:23
Re: Strange issue: SetPlayerScore(playerid); - by jihadmeneer - 07.10.2015, 08:34
Re: Strange issue: SetPlayerScore(playerid); - by iggy1 - 07.10.2015, 08:52
Re: Strange issue: SetPlayerScore(playerid); - by Galletziz - 07.10.2015, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)