Raised This Month: $ Target: $400
 0% 

Ban Player from Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-31-2019 , 13:15   Re: Ban Player from Menu
Reply With Quote #2

PHP Code:
formatex(szUserIdcharsmax(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.
__________________

Last edited by <VeCo>; 05-31-2019 at 13:19.
<VeCo> is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode