20.06.2010, 09:39
Quote:
|
Originally Posted by Woet
How is this a tutorial? A tutorial explains things, this is just 'place this code here and act like you understand it'
It doesn't really match a filterscript either because it's not written as one and it's way too simple. |
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
KillingSpree[killerid] ++; // Means that the killer will get 1 kills
KillingSpree[playerid] = 0; // Means that the player who died his killing spree will be restored to 0.
if(KillingSpree[killerid] == 3) // It finds if the player is on a Killing Spree of 3 kills , you may change
{
// If you want to give the player that has 3 killing spree a reward do something here
}
return 1;
}
.Thanks.

