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

[REQ] Client_cmd disconnect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 10:05.


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