Raised This Month: $9 Target: $400
 2% 

[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

__________________

I'm awesome, and I realy like cookie.
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


Thread Tools
Display Modes

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:40.


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