AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Take all players info (https://forums.alliedmods.net/showthread.php?t=121520)

MUSUL 03-16-2010 15:47

Take all players info
 
Hello,

How can i take all the players info? I need to take number of players in the server, and the ID, saving all the IDS into an array.

kanatzu 03-16-2010 15:54

Re: Take all players info
 
Non-Steam or Steam?

MUSUL 03-16-2010 15:56

Re: Take all players info
 
Steam, sorry, im new in amxx x'D

fysiks 03-16-2010 19:41

Re: Take all players info
 
Explain what you are trying to do and we will give you an example of what could be used.

MUSUL 03-17-2010 21:19

Re: Take all players info
 
Ok lets go.

I need update the players profiles from the website (mysql) for all the players that are playing in the server in that moment. So, max players must be 10 (5on5). (knowing this isn't necessay take the amount of players ingame, but maybe there is an hltv on).

All the 10 players are registered already in the database and recognized by steamid. I just need to know how can i get the ID of all players (or the steam ids, just some info for identify each player) for edit one column for each profile.

And later, with the 10 Steam ids, do a loop for update in mysql the 10 player's profile.

And 2 thing, just i forget it. Is there any cvar where is saved the bpp? i mean if player is using 16bpp or 32bpp.

Seta00 03-18-2010 08:54

Re: Take all players info
 
Use get_user_authid.

No, you can't detect user's BPP via plugin, but you can use this plugin to make him prove he uses 32-bit:
32-bit test v1.1 by supermega


All times are GMT -4. The time now is 08:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.