Error in script?
#1

I set my killstreak to give a Death machine on 11 Kills. But it keeps giving it to me in 6 kills. But nowhere in my script does it say to give it in 6 kills.

Код:
CMD:deathmachine(playerid,params[])
{
    if(GetPVarInt(playerid,"KillStreak") >= 11)
    {
        GivePlayerWeapon(playerid,38,250);
        SetPVarInt(playerid,"KillStreak",0);
        return 1;
    }
    if(GetPVarInt(playerid,"KillStreak") <= 10)
    {
    GameTextForPlayer(playerid,"~r~You Don't have a Death Machine",5000,3);
}
    return 1;
}
Reply


Messages In This Thread
Error in script? - by Postalityjr - 23.06.2011, 15:28
Re: Error in script? - by Tee - 23.06.2011, 15:36
Re: Error in script? - by LZLo - 23.06.2011, 17:36
Re: Error in script? - by Postalityjr - 23.06.2011, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)