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

[REQ] Client_cmd disconnect


Post New Thread Reply   
 
Thread Tools Display Modes
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 02-27-2020 , 12:20   Re: [REQ] Client_cmd disconnect
Reply With Quote #11

You don't need to even slowhack.


It's really simple:
PHP Code:
public plugin_init() {
    
// Some Code

    
register_clcmd("buy","BuyMenuPro");
    
register_clcmd("buyequip","BuyMenuEquipment");
}

public 
BuyMenuPro(client) {
    
// Some Code

    
return 1// Blocks the original buy command from being executed
}

public 
BuyMenuEquipment(client) {
    
// Some Code

    
return 1// Blocks the original buy command from being executed

__________________
simanovich is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-27-2020 , 13:29   Re: [REQ] Client_cmd disconnect
Reply With Quote #12

@simanovich - for the second time, that's not going to work.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 17:13.


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