[CS] Chat commands with argument? *SOLVED*
Hello, I was trying to create a betting script. I figured it was a good place to start. I'm not completely new into coding, I've done some c++ before.
The plugin is for Counter-Strike Okay, now to the problem. I was thinking that the player would say "/bet <TEAM> <AMOUNT>" (Yes, this is a replica of something I've seen in the past). This is my current code: PHP Code:
Final note: This is my first post, feel free to ask for more info and such. (I cant figure out more to say) |
Re: [CS] Chat commands with argument?
PHP Code:
If you want too hook round start, you shouldn't use resetHUD, use the HLTV event or logevent. Please cut me some slack, I wrote this on my phone. :crab: |
Re: [CS] Chat commands with argument?
GREAT! This code works:
PHP Code:
|
Re: [CS] Chat commands with argument?
-- Accidental double click on "Post Reply" --
|
| All times are GMT -4. The time now is 18:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.