Raised This Month: $ Target: $400
 0% 

Using #define to set command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-12-2013 , 11:16   Re: Using #define to set command
Reply With Quote #1

First off you need a space after the
Code:
 #define variable value
Secondly why a define?

Also charsmax is already sizeof -1

And Lastly just register the command exactly.

Code:
 register_clcmd ("say /command", "CallBack");
Or you can hook say and day team and compare it that way

Last edited by Doc-Holiday; 05-12-2013 at 11:21.
Doc-Holiday is offline
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 16:20.


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