I have a code that i do this :
PHP Code:
new ServerIp[32]
get_user_ip(0, ServerIp, 31)
client_cmd(iTarget, "setinfo _%s 2", ServerIp)
Right? And i want to know if a user have this setinfo with value 2.
How can i know?
I do this if the setinfo is "test".
PHP Code:
get_user_info(id, "_test", setinfo1, 1)
But how can i know the setinfo "_stringname" ?
PHP Code:
get_user_info(id, "_%s", setinfo1, 1) //Where i must put the string name?
Sorry for my english