Little Problem With kills/deaths Text Draw
#1

Solved
Reply
#2

Seeing as how you are already adding to the deaths and kills here:
pawn Код:
Deaths[playerid]++;
   Kills[killerid]++;
   KillStreak[killerid]++;
Why are you adding again in the formatted string?
pawn Код:
format(kupdate,sizeof(kupdate),"Kills : %d",Kills[killerid]++);
Try
pawn Код:
format(kupdate,sizeof(kupdate),"Kills : %d",Kills[killerid]);
format(dupdate,sizeof(dupdate),"Deaths : %d",Deaths[playerid]);
Reply
#3

i tried that before, same issue...
Reply
#4

Well that's right, so keep it in there. The issue must be somewhere else ... don't see where though :S

EDIT: Only thing that can be stopping it from updating is the "InDm[playerid]" variable, if it isn't set to 1 the code will not continue to be executed, make sure you are setting the variable right.
Reply
#5

thnx for the reply
Reply
#6

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)