Use a const and loop trough all the SteamIDs in it. I think this is the best way to read two or more steamids at once.
EDIT: Moved that new variable for name outside the loop.
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
new const SteamIDs[][]=
{
"",
"STEAM_x:x:xxxxxxxx",
"STEAM_y:y:yyyyyyyy",
"STEAM_z:z:zzzzzzzz"
}
public plugin_init() {
register_clcmd("say /test", "CheckSteamIds")
}
public CheckSteamIds(id)
{
new szSteamID[32]
get_user_authid(id, szSteamID, charsmax(szSteamID))
for(new i = 1; i < sizeof SteamIDs; i++)
{
if(equal(szSteamID, SteamIDs[i]))
{
//Do stuff needed :)
}
}
}
__________________