New to entity_get_string.
I would like to get the player steam id also and not just the name of him.
How can I get AuthID/Steam ID of him?
PHP Code:
new Name[32];
entity_get_string(ent, EV_SZ_targetname, Name, 31);
new AuthID[32];
entity_get_string(ent, EV_SZ_targetname, AuthID, 31);
if(!strcmp(Name, "")) {
strcat(Name, "Unknown", 32);
}
if(!strcmp(AuthID, "")) {
strcat(AuthID, "Unknown", 32);
}