Raised This Month: $ Target: $400
 0% 

Help me with give nades, if i say /he


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 05-22-2020 , 15:20   Re: Help me with give nades, if i say /he
Reply With Quote #7

So, you need to register the command which you want to deal with:
PHP Code:
register_clcmd("slot1""slot_handle"// use clcmd if you want to be a client console command
register_concmd("slot1""slot_handle"// use concmd if you want the command to be executed from client console or server console. 
When you registered the command, you need to create a public handle where to put the code in:
PHP Code:
public slot_handle( )
{
     
//inside the braces you put your code which you want to be executed when server/client type the command.

Good luck!
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi 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 17:04.


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