OnPlayerDeath Help!
#7

Quote:
Originally Posted by Areax
Посмотреть сообщение
PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    
SendDeathMessage(killeridplayeridreason);
    if(
killerid != INVALID_PLAYER_ID)
    {
        
SetPlayerScore(killeridGetPlayerScore(killerid)+1);
        
GivePlayerMoney(killerid100);
    }
    
PLAYER_DEATHS[playerid]++;
    
PLAYER_MONEY[playerid] -= 100;
    
PLAYER_KILLS[killerid]++;
    
PLAYER_SCORE[killerid]++;
    
PLAYER_MONEY[killerid]++= 100;
    return 
1;

That's the implementation of the variables, not their declaration.
He means, show us where you define the variables (new PLAYER_DEATHS...)
Reply


Messages In This Thread
OnPlayerDeath Help! - by Areax - 13.04.2013, 08:17
Re: OnPlayerDeath Help! - by [XST]O_x - 13.04.2013, 08:20
Re: OnPlayerDeath Help! - by [ABK]Antonio - 13.04.2013, 08:23
Re: OnPlayerDeath Help! - by Areax - 13.04.2013, 08:25
Re: OnPlayerDeath Help! - by [ABK]Antonio - 13.04.2013, 08:35
Re: OnPlayerDeath Help! - by Areax - 13.04.2013, 08:37
Re: OnPlayerDeath Help! - by [XST]O_x - 13.04.2013, 08:42
Re: OnPlayerDeath Help! - by zxc1 - 13.04.2013, 08:46
Re: OnPlayerDeath Help! - by Areax - 13.04.2013, 09:12
Re: OnPlayerDeath Help! - by [XST]O_x - 13.04.2013, 09:17

Forum Jump:


Users browsing this thread: 1 Guest(s)