11.07.2014, 09:44
The other players name is coming up first when you're killing someone
example: if i were named Dark and the other player were named Austin then if i killed him then it showed up this:
Austin {Weapon} Dark
Code:
example: if i were named Dark and the other player were named Austin then if i killed him then it showed up this:
Austin {Weapon} Dark
Code:
Код:
public OnPlayerDeath(playerid, killerid, reason) { SetPlayerScore(killerid,GetPlayerScore(killerid)+1); PlayerInfo[killerid][pKills]++; PlayerInfo[playerid][pDeaths]++; GivePlayerMoney(killerid, 500); PlayerInfo[playerid][pScores]++; SetPlayerScore(killerid, PlayerInfo[playerid][pScores]); SendDeathMessage(playerid,killerid,reason); return 1; }