26.11.2016, 11:54
Quote:
|
Well i try explain better.
First bug. So i playing alone right? everything work fine its show like this Top 3 killstreaks 1.Name_Name - 36 (killstreaks) Then new player online, and luck what happen Top 3 killstreaks 1.Name_Name - 0 (killstreaks) 2.Second_Name - 0 (killstreaks) Second bug. So when its playing 2players textdraw luck like this Top 3 killstreaks 1.Name_Name - 0 (killstreaks) if i make kills its still show zero 2.Second_Name - 0 (killstreaks) if him make kill this textdraw show kills both of us. And its luck like this Top 3 killstreaks 1.Name_Name - 1 (killstreaks) 2.Second_Name - 1 (killstreaks) |
PHP код:
if(KSSlot2 != -1)
{
format(string, sizeof(string), "______Top_3_KillStreaks~n~~n~1._~g~%s_~w~(KillStreak:_%d)~n~~n~2._~y~%s_~w~(KillStreak:_%d)", PlayerName2(KSSlot1), pInfo[KSSlot2][pKills], PlayerName2(KSSlot2), pInfo[KSSlot2][pKills]);
}
PHP код:
PlayerName2(KSSlot1), pInfo[KSSlot2][pKills]// player 1's score is player2's score
PHP код:
PlayerName2(KSSlot1), pInfo[KSSlot1][pKills]


