/stats
#1

So i created new stats textdraw and there is one problem. When i type /stats it won't show whole player's stats only 70% of it. What could be the problem??
PHP Code:
new PlayerText:UPSTATS[52][MAX_PLAYERS]; 
And this is how stats is displayer for player
PHP Code:
for(new 037i++) PlayerTextDrawShow(playeridUPSTATS[i][playerid]); 
If you need more codes for this tell me.

EDIT: I fexed it. Instead of
PHP Code:
for(new 037i++) 
It should be
PHP Code:
for(new 052i++) 
Reply
#2

PHP Code:
for(new 037i++) PlayerTextDrawShow(playeridUPSTATS[i][playerid]); 
there is something wrong yeah some logical error.Why are you placing i variable in length?can u show that cmd full?
Reply
#3

Command works perfectly. What do you want me to show?
Reply
#4

Quote:
Originally Posted by Micko123
View Post
Command works perfectly. What do you want me to show?
I know that command compiles with out any error but there is a logical error that wont give you desired pls explain that for loop to me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)