problem with money
#5

here is OnPlayerDeath:
PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    
SetPlayerScore(killeridGetPlayerScore(killerid)+1);
    
GivePlayerMonez(killerid,1500);
    
GivePlayerMonez(playerid,-500);
    
PlayerInfo[killerid][pKills]++;
    
PlayerInfo[playerid][pDeaths]++;
    return 
1;

GivePlayerMonez is because i use anti money cheat.
Reply


Messages In This Thread
problem with money - by MonkZemun - 16.10.2011, 10:23
Re: problem with money - by [HiC]TheKiller - 16.10.2011, 10:42
Re: problem with money - by Stigg - 16.10.2011, 11:00
Re: problem with money - by MonkZemun - 16.10.2011, 11:04
Re: problem with money - by MonkZemun - 16.10.2011, 11:06
Re: problem with money - by SmiT - 16.10.2011, 11:09
Re: problem with money - by MonkZemun - 16.10.2011, 11:14
Re: problem with money - by SmiT - 16.10.2011, 11:22
Re: problem with money - by Mr_Scripter - 16.10.2011, 11:23
Re: problem with money - by MonkZemun - 16.10.2011, 11:26

Forum Jump:


Users browsing this thread: 2 Guest(s)