well right now i have my admincmd hide my flags, which works correctly, for anyone with whatever flag i have it set to.... but now since I have a small 5digit steam id that stands out quite easily some ppl have memorized it, or written it down...etc etc..
so I kinda want to have it display a fake steam id for me so I can be a little more hidden heh (tho i guess status and stuff would still show correct id)
but anyway this is what ive got edited so far, i wont post the whole script cuase most of it has nothing to do with this, but if you want me to let me know...
but the problem im having is that its cutting off part of the new STEAM_0:1:###### everytime.. But each time it like cuts off a diff part of it.. sometimes it will show as "M_0:1:######" sometimes it'll be "TEAM_0:1:######" and so on in whatever variation you want... but its not like its different everytime i join and get a new fake steam id.. its everytime i open the console and type amx_who (like while in the same game, with the same name, with the same fake id)
so its sorta working, but the fact that it gets cut off is making it stand out just as much as having my normal short ID in with all the long ones that are around now...
im confused, which is easy cuase i dont totally know what im doing, as to whats wrong with it..
any help would be appreciated.. thanks ahead of time...
Code:
public cmdWho(id, level, cid)
{
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new players[32], inum, cl_on_server[64], authid[32], name[32], flags, sflags[32]
new lImm[16], lRes[16], lAccess[16], lYes[16], lNo[16]
format(lImm, 15, "%L", id, "IMMU")
format(lRes, 15, "%L", id, "RESERV")
format(lAccess, 15, "%L", id, "ACCESS")
format(lYes, 15, "%L", id, "YES")
format(lNo, 15, "%L", id, "NO")
get_players(players, inum)
format(cl_on_server, 63, "%L", id, "CLIENTS_ON_SERVER")
console_print(id, "^n%s:^n # %-16.15s %-20s %-8s %-4.3s %-4.3s %s", cl_on_server, "nick", "authid", "userid", lImm, lRes, lAccess)
for (new a = 0; a < inum; ++a)
{
get_user_authid(players[a], authid, 31)
get_user_name(players[a], name, 31)
flags = get_user_flags(players[a])
get_flags(flags, sflags, 31)
if(flags&(1<<ADMIN_HIDE)) //if hidden, show z flag & such...
{
console_print(id,"%2d %-16.15s %-20s %-8d %-4.3s %-4.3s z", players[a],name,fake_steam[inum],
get_user_userid(players[a]),"No","No")
}
else
{
console_print(id, "%2d %-16.15s %-20s %-8d %-6.5s %-6.5s %s", players[a], name, authid,
get_user_userid(players[a]), (flags&ADMIN_IMMUNITY) ? lYes : lNo, (flags&ADMIN_RESERVATION) ? lYes : lNo, sflags)
}
}
console_print(id, "%L", id, "TOTAL_NUM", inum)
get_user_authid(id, authid, 31)
get_user_name(id, name, 31)
log_amx("Cmd: ^"%s<%d><%s><>^" ask for players list", name, get_user_userid(id), authid)
return PLUGIN_HANDLED
}