18.03.2011, 18:10
(
Последний раз редактировалось antonio112; 18.03.2011 в 23:31.
)
Well, do something like:
Something like that should work.
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;
}