killstreak
#5

Quote:
Originally Posted by Marricio
Посмотреть сообщение
pawn Код:
OnPlayerDeath(playerid,killerid)
{
       Killstreak[playerid] = 0;
}
it sets the dead player kill streak to 0 and not to 1
yeah thats for the player that is dead
But i need for the player that killes someone
So it would be
Killstreak[killerid]++;

and then the problem is that
If the player killes someone twice
this function doesnt work
if(Killstreak[killerid] > 2){ or if(Killstreak[killerid] == 2){
it only works for
if(Killstreak[killerid] > 1){ and it just stays like that even if you kill someone again!!!
Reply


Messages In This Thread
killstreak [SOLVED] - by park4bmx - 29.12.2010, 13:51
Re: killstreak - by MadeMan - 29.12.2010, 13:57
Re: killstreak - by park4bmx - 29.12.2010, 17:41
Re: killstreak - by Marricio - 29.12.2010, 18:02
Re: killstreak - by park4bmx - 30.12.2010, 11:01
Re: killstreak - by Lorenc_ - 30.12.2010, 12:01
Re: killstreak - by Macluawn - 30.12.2010, 12:07
Re: killstreak - by park4bmx - 30.12.2010, 14:01
Re: killstreak - by _rAped - 30.12.2010, 14:03
Re: killstreak - by [NWA]Hannes - 30.12.2010, 14:20

Forum Jump:


Users browsing this thread: 2 Guest(s)