Raised This Month: $51 Target: $400
 12% 

First forward where i can get user nickname,userid and kick him


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karaulov
Senior Member
Join Date: Jul 2018
Old 11-10-2019 , 02:56   First forward where i can get user nickname,userid and kick him
Reply With Quote #1

Help i need first forward where i can get user nickname,userid and kick him

client_PUTINserver ??
karaulov is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 11-10-2019 , 03:57   Re: First forward where i can get user nickname,userid and kick him
Reply With Quote #2

client_connect
__________________
edon1337 is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-10-2019 , 16:29   Re: First forward where i can get user nickname,userid and kick him
Reply With Quote #3

Check out: https://www.amxmodx.org/api/amxmodx/client_connectex
I believe It's added to the new AMXX 1.9.0
redivcram is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-11-2019 , 08:07   Re: First forward where i can get user nickname,userid and kick him
Reply With Quote #4

Quote:
Originally Posted by redivcram View Post
Check out: https://www.amxmodx.org/api/amxmodx/client_connectex
I believe It's added to the new AMXX 1.9.0
"This forward is called too early to do anything that directly affects the client."
__________________
HamletEagle is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 11-11-2019 , 13:32   Re: First forward where i can get user nickname,userid and kick him
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
"This forward is called too early to do anything that directly affects the client."
"Help i need first forward where i can get user nickname,userid and kick him"

Hamlet, it is perfectly possible to use this forward, it is possible to take the name, steamid, userid and kick the player (return PLUGIN_HANDLED to kick and return PLUGIN_CONTINUE "to free the player access.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-13-2019 , 09:14   Re: First forward where i can get user nickname,userid and kick him
Reply With Quote #6

Quote:
Originally Posted by HamletEagle View Post
"This forward is called too early to do anything that directly affects the client."
Code:
PLUGIN_CONTINUE to let a client join to the server
PLUGIN_HANDLED or higher to prevent a client to join
He could check whether the user's data match then use the corresponding return values.

Edit: iceeedr already beat my blind ass to it :I

Last edited by redivcram; 11-13-2019 at 09:14.
redivcram is offline
Reply



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 23:26.


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