Score Update
#6

PHP Code:
public OnPlayerDeath(playeridkilleridreason

    
SetPlayerArmour(playerid0); 
    if(
killerid != INVALID_PLAYER_ID
    { 
        new 
level
        
SendDeathMessage(killeridplayeridreason); 
        
PlayerInfo[killerid][pKills] ++; 
        
PlayerInfo[playerid][pDeaths] ++; 
        
trenutnokills[killerid] ++; 
           
trenutnodeaths[playerid] ++; 
        
SetPlayerScore(killeridGetPlayerScore(killerid)+1);
        
level GetPlayerScore(killerid); 
        
PlayerInfo[killerid][pLevel] = level
try this
Reply


Messages In This Thread
Score Update - by Hadzaga - 14.06.2018, 17:29
Re: Score Update - by Livity - 14.06.2018, 17:39
Re: Score Update - by Hadzaga - 14.06.2018, 17:52
Re: Score Update - by BiGuy - 14.06.2018, 18:06
Re: Score Update - by Hadzaga - 14.06.2018, 18:17
Re: Score Update - by Exhibit - 14.06.2018, 19:42
Re: Score Update - by Sew_Sumi - 14.06.2018, 20:34
Re: Score Update - by BiGuy - 14.06.2018, 20:52
Re: Score Update - by AmigaBlizzard - 14.06.2018, 21:57
Re: Score Update - by Stefcaaaa - 14.06.2018, 22:03
Re: Score Update - by Sew_Sumi - 14.06.2018, 22:15
Re: Score Update - by Hadzaga - 14.06.2018, 22:28
Re: Score Update - by BiGuy - 14.06.2018, 22:46

Forum Jump:


Users browsing this thread: 4 Guest(s)