Raised This Month: $ Target: $400
 0% 

Hooking SV_ConnectClient on Reapi (rehlds)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-11-2018 , 10:59   Re: Hooking SV_ConnectClient on Reapi (rehlds)
Reply With Quote #6

Quote:
Originally Posted by Old.School View Post
i wanna use it for admin slot reservation to make a random player kicked if any admin join (when server is full) and try to force cl_allowdownload 1 (i think its not slowhacking cause this command aint used for bad things..)
Do not make sense, since:

1. Default amxx already do slot reservation and kick an player if server is full if i remember (If not, is easy to do)
2. cl_allowdownload will not let player enter if he do not have downloaded files from server. If player really want to enter, is only allow download to not make sense force this cvar on players anyway.
3. It still slowhack
4. You do not need to hook any function than default client_connect to do it.

There is 4 reasons, but the last i suspect is to work with a non-steam?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 07-11-2018 at 11:01.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 09:16.


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