KillStreak Problem
#1

OnPlayerDeath
pawn Код:
Killstreak[killerid] ++ ;
    Killstreak[playerid] = 0 ;
    if(Killstreak[killerid] >= 2)
    {
        format(string,sizeof(string),"* Your Killstreak is %s", Killstreak[killerid]);
        SendClientMessage(killerid,LIGHTGREEN,string);
        return 1;
    }
    if(Killstreak[killerid] >= 5)
    {
        GivePlayerMoney(killerid,1000);
        SendClientMessage(killerid,LIGHTGREEN,"Here's an Extra $1000!");
        return 1;
    }
    if(Killstreak[killerid] == 6)
    {
        GivePlayerWeapon(playerid,24,100);
        SendClientMessage(killerid,LIGHTGREEN,"Here's a Extra Desert Eagle Ammo!");
        return 1;
    }
It's not sending the messages for some reason, nor giving the desert eagle
Reply


Messages In This Thread
KillStreak Problem - by acade - 10.03.2012, 18:18
Re: KillStreak Problem - by Konstantinos - 10.03.2012, 18:25
Re: KillStreak Problem - by acade - 10.03.2012, 18:26
Re: KillStreak Problem - by Max_Coldheart - 10.03.2012, 18:26
Re: KillStreak Problem - by Konstantinos - 10.03.2012, 18:31
Re: KillStreak Problem - by acade - 10.03.2012, 18:42
Re: KillStreak Problem - by Max_Coldheart - 10.03.2012, 18:43
Re: KillStreak Problem - by acade - 10.03.2012, 19:07
Re: KillStreak Problem - by [ABK]Antonio - 10.03.2012, 23:26
Re: KillStreak Problem - by Max_Coldheart - 11.03.2012, 08:48

Forum Jump:


Users browsing this thread: 2 Guest(s)