PlayerTextDraw line bug |
#1

Hey guys! I need your assist.
I create today an inventory sys/textdraw, and it's work. My problem is: When I add to myself an item, the textdraw become a line (|) after than item name. This textdraw is a PlayerTextDraw.

Here's a picture, you understand easier:



And here's the code (formatting):
PHP код:
if(Player[playerid][Item][7] == 0format(stringsizeof(string), "8. Ьres slot");//empty slot
else format(stringsizeof(string), "~w~8. %s (%d)"ItemName(Player[playerid][Item][7]), Player[playerid][ItemAmount][7]);//not empty slot
PlayerTextDrawSetString(playeridInventory[playerid][9], string); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)