How to check if player is on killing spree?
#1

Okay i have a killing spree system. i wanna do something like that. When you type /checkspree [id] it checks the number of killing spree of a selected playerid.

pawn Код:
KillingSpree[killerid] ++;
KillingSpree[playerid] = 0;

if(KillingSpree[killerid] == 5)
{
//Reward
}
Reply
#2

You will need to use at least dcmd if you don't want to use strtok.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)