Raised This Month: $ Target: $400
 0% 

Solved Storing Console Cmds in Variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hellmonja
Senior Member
Join Date: Oct 2015
Old 05-21-2016 , 10:01   Re: [HELP] Storing Console Cmds in Variable
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
Ah, it's like that, I was thinking you have different publics for each command.
Then, probably your best bet is using client_command forward since it pass command name.
I was actually thinking of using different publics but with more than 20 weapons added I figured this would be more, uh, elegant is the word I guess. I'd probably use it as a last resort, which at this point is likely to happen anyway since I can't wrap my head on how to do this yet...

Sooooo, I should register a forward, like this?
PHP Code:
register_forward(client_command"ClientCommandBuyPrimary"
And put my code in there?...

Last edited by hellmonja; 05-21-2016 at 10:03.
hellmonja 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 18:34.


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