13.10.2013, 16:06
can anybody help me in highest killstreak system. Which saves players highest killstreak.
I have no idea how to create it.
thank you.
I have no idea how to create it.
thank you.
KillStreak,
BestKillStreak,
if(pInfo[playerid][KillStreak] > pInfo[playerid][BestKillStreak])
pInfo[playerid][BestKillStreak] = pInfo[playerid][KillStreak];
pInfo[playerid][KillStreak] = 0;
if(IsPlayerConnected(killerid) && killerid != INVALID_PLAYER_ID)
{
pInfo[killerid][KillStreak]++;
}