SA-MP Forums Archive
Kills count bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Kills count bug (/showthread.php?tid=593859)



Kills count bug - NeamPojma - 10.11.2015

Hello all i have problem with kill counts for each team
It work good unless it go to 9
After 9 its again 0 but i want it to become 10...

pawn Код:
if(GetPlayerTeam(killerid)==0)
                {
                    tKills++;
                    format(string, sizeof(string), "RUS : %d", tKills);
                    TextDrawSetString(TDtKills, string);
                    TextDrawShowForAll(TDtKills);
            }



Re: Kills count bug - Baboon - 10.11.2015

How long did u make ur string? It's probably too short.


Re: Kills count bug - NeamPojma - 10.11.2015

Oh , lol string was 8 it was last thing i was thinking about thanks man rep +!