PHP Code:
formatex(szUserId, charsmax(szUserId), "%d", get_user_userid(tempid));
You are getting the #userid here, not the client id which would be used for the name/ip natives below. Use find_player to find his client id from #userid.
You already send the player name in szName trough the menu, no need to get it again.
AdminName is an IP address, obviously.
__________________