I suck at OnPlayerDeath :D
#1

pawn Код:
if(Hitman[killerid] && Mayor[playerid])
    {
    if(GetPlayerMoney(playerid < 500)) return 1;
    GivePlayerMoney(playerid,-500);
    GivePlayerMoney(killerid,500);
    ShitInfo[killerid][pWanted] = 1;
    SendClientMessage(killerid,TEAM_POLICE_COLOR,"[ ! ] [ POLICE ] You are now wanted for 'KILLED A PLAYER'");
    SetPlayerColor(killerid,c_r);
    }
Okay thats my code but when i kill the mayor and he has more than 500 dollars it doesnt do anything...
Reply


Messages In This Thread
I suck at OnPlayerDeath :D - by coole210 - 08.08.2009, 19:37
Re: I suck at OnPlayerDeath :D - by Chrham_2 - 08.08.2009, 19:51
Re: I suck at OnPlayerDeath :D - by Burridge - 08.08.2009, 19:54
Re: I suck at OnPlayerDeath :D - by XPlatform - 08.08.2009, 19:59
Re: I suck at OnPlayerDeath :D - by Burridge - 08.08.2009, 20:03
Re: I suck at OnPlayerDeath :D - by XPlatform - 08.08.2009, 20:40
Re: I suck at OnPlayerDeath :D - by Burridge - 08.08.2009, 20:56
Re: I suck at OnPlayerDeath :D - by XPlatform - 08.08.2009, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)