15.05.2014, 11:37
i have something,when player connects it makes a label and attaches it to you,when you click on lmb it changes the string to +1,each time you click it changes and gets +1 clicks,the label shows how many clicks you have,but it works fine till i reach 10 clicks then i get two labels on me and it gets hard to see,how can i make it update the string to the amount of the clicks and works right?
code:
and onplayerkeystatechange:"
code:
pawn Код:
clicktag[playerid] = Create3DTextLabel("Clicks ", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(clicktag[playerid], playerid, 0.0, 0.0, 0.5);
pawn Код:
Clicks[playerid] += 1;