Players List Menu
Hello Everyone,
I have started scripting and reading about scripts almost 3 months ago, I have read from here on how to create menu Here. I got the basics a little bit. I wanted to create a simple survivors bot list > for l4d2, but not necessary since the concept is the same. I read few scripts but they are either old or too complicated for me with more than 800 lines on simple function. I made this one, which display the bots, but I cant target each of their names, I tried to select for example "Nick", but it showed me I selected the wrong bot. In fact, it only shows me the first survivor bot. I would really appreciate some helps here, thanks PHP Code:
|
Re: [Issue] Players List Menu
Quote:
|
Re: [Issue] Players List Menu
https://wiki.alliedmods.net/Format_C...mat_Specifiers
You add player name, two times. %N Try %i *edit If you want make it more correctly, you should use player UserId. With this you can try search client index, is player still in game. But try client index first. Code:
for (int i = 1; i <= MaxClients; i++) |
Re: [Issue] Players List Menu
Thank You Bacardi,
I was finally able to detect them with their "GetClientOfUserId", Thanks a lot :up: |
Re: Players List Menu
PHP Code:
|
Re: Players List Menu
Quote:
|
| All times are GMT -4. The time now is 01:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.