[CSGO] Menu with Knife! SIMPLE for coder!
Hello!
I need to add menu to this plugin: (Knife_get01a.sp) : https://forums.alliedmods.net/showthread.php?t=231790 when player say in chat /knife he see this: Menu style: http://oi44.tinypic.com/25kmn1w.jpg and use cookies to save that knife! Now i must type in console sm_karambit or sm_flip etc. to change knife. I want change this in menu and save for next change (say /knife) thx! |
Re: [CSGO] Menu with Knife! SIMPLE for coder!
2 Attachment(s)
I don't play CSGO and never made a plugin for it but I put together a simple menu that you can select the knives from it and it will run the command though ClientCommand. I also have never worked with cookies, so no cookies. I only tested the menu in tf2, but should work the same in CSGO, I would think. If I get client cookies working, ill be sure to update the files.
|
Re: [CSGO] Menu with Knife! SIMPLE for coder!
THX BRO, menu ingame is ok but doesn't work... If I press 1,2,3,4,5 knife is this same.
Console ingame show this: "Tried to look up command say as if it were a variable." |
Re: [CSGO] Menu with Knife! SIMPLE for coder!
That menu only work for you alone (if you are the first one spawn in game );
Anyway try change this: PHP Code:
PHP Code:
|
Re: [CSGO] Menu with Knife! SIMPLE for coder!
Quote:
|
Re: [CSGO] Menu with Knife! SIMPLE for coder!
I havent try the menu myself but:
PHP Code:
EDIT: I could be wrong here, haven't enough sleep. >.<" anyway, the command executed on wrong index or something. Also possibility to wrong index or... My brain can't think much.. its 5.35am here and i still awake on youtube.. |
Re: [CSGO] Menu with Knife! SIMPLE for coder!
2 Attachment(s)
Quote:
Edit: Took out param1 == 1 from the attachment. |
Re: [CSGO] Menu with Knife! SIMPLE for coder!
Yeah now works fine THX!, but do you have any ideas how save this knife? Because when round is restarted, when player go to another team or play another map he again have standard knive.
|
Re: [CSGO] Menu with Knife! SIMPLE for coder!
Not sure, Ill have to read up on it and try it first. Hopefully, someone else will have helped you by then.
|
Re: [CSGO] Menu with Knife! SIMPLE for coder!
1 Attachment(s)
This should save your Knife and load in the next spawn...
Untested.. but should be work just fine.. EDIT: Quote:
|
All times are GMT -4. The time now is 02:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.