[SOLVED]Enum players
1 Attachment(s)
Hi.I have this plugin which show's how many players have steam...
Ex: "On server are 3 players with steam!"...but i want to add something to show their names too...but dunno! to look somehting like this "On server are 3 players with steam!(Alka,LoL,Jhon)!" Thanks |
Re: Enum players
I would do like this :
Code:
Now as an improvement, it would be safe to check each username length to not be out of chat limits through multiple print_chat() if necessary. |
Re: Enum players
Thanks...but is not working properly :| ! When i type first time /steamppl is showing "Full List:Alka." if i type again is showing "Full List:Alka.Alka" if i type again "Full List:Alka.Alka.Alka" ! can you fix this?
Thanks... |
Re: Enum players
Because 'static' on lstUserName is using, I think.
Try to put : lstUserName[0] = '^0'; to reset this array. Code:
|
Re: Enum players
Thanks arkshine now it's working!...:wink:
|
Re: [SOLVED]Enum players
For that :
Quote:
Code:
|
Re: [SOLVED]Enum players
^^!! Thanks...this is perfect! :wink: +k
|
| All times are GMT -4. The time now is 06:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.