[HEL]kill player 2 times
#3

Well, do something like:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPvarInt( killerid, "Rampage", GetPVarInt( killerid, "Rampage" ) + 1 );
   
    if( GetPVarInt( killerid, "Rampage" ) == 2 )
    {
          SendClientMessage( killerid, -1, "You are the best." );
          SetPVarInt( killerid, "Rampage", 0 );
    }
    return 1;
}
Something like that should work.
Reply


Messages In This Thread
[HEL]kill player 2 times - by bboytimix - 18.03.2011, 18:04
Re: [HEL]kill player 2 times - by TheYoungCapone - 18.03.2011, 18:08
Re: [HEL]kill player 2 times - by antonio112 - 18.03.2011, 18:10
Re: [HEL]kill player 2 times - by bboytimix - 18.03.2011, 22:28
Re: [HEL]kill player 2 times - by bboytimix - 18.03.2011, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)