AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CS:GO] Change Glove Menu (https://forums.alliedmods.net/showthread.php?t=288943)

AuTok1NGs 10-11-2016 07:48

[CS:GO] Change Glove Menu
 
4 Attachment(s)
Gloves Menu

Commands:

!gloves - open glove menu
VIP FLAG:

VIP For o flag (custom1)

[U][B] Requires plugins:

URL REMOVED

Video:



Credits For:

AuToPrO & Idank1NGz

Rainox 10-11-2016 10:02

Re: [CS:GO] Change Glove Menu
 
2 Attachment(s)
Hello, nice release.

But I just found one mistake, you have Precache and Download in OnPluginStart, so when you connecting to servers, files not download. I added OnMapStart that everything worked good.

U can download fixed version down.

Edit: Cloud9 gloves doesnt work

AuTok1NGs 10-11-2016 11:59

Re: [CS:GO] Change Glove Menu
 
Quote:

Originally Posted by Rainox (Post 2461128)
Hello, nice release.

But I just found one mistake, you have Precache and Download in OnPluginStart, so when you connecting to servers, files not download. I added OnMapStart that everything worked good.

U can download fixed version down.

Edit: Cloud9 gloves doesnt work

I Change This Thanks You:wink:

Arkarr 10-11-2016 12:35

Re: [CS:GO] Change Glove Menu
 
Spoiler

That's.... bad. I guess. Instend of doing a lot of test, and settings a way too much boolean, just store the model name in a variable, and then apply it to the client formating the model path with the variable you just usued before. Also, you created "IsValidClient" but never use it.

I would do it like that :
Spoiler

Not tested through. Also, you can improve the code even more by looping through the files in the folder wich contains the gloves. With a for loop as an exemple. Really, when you have so much variable to do a simple task, you might want to re-think your code.
Anyway, good luck for your next plugin ;3 !

j1gg 10-11-2016 12:40

Re: [CS:GO] Change Glove Menu
 
Is this plugin safe? Valve wont ban me for this? ;)

AuTok1NGs 10-11-2016 13:07

Re: [CS:GO] Change Glove Menu
 
Quote:

Originally Posted by j1gg (Post 2461157)
Is this plugin safe? Valve wont ban me for this? ;)

Yes, Its safe.
You Cannot Get Ban:shock:

AuTok1NGs 10-11-2016 13:10

Re: [CS:GO] Change Glove Menu
 
Quote:

Originally Posted by Arkarr (Post 2461155)
Spoiler

That's.... bad. I guess. Instend of doing a lot of test, and settings a way too much boolean, just store the model name in a variable, and then apply it to the client formating the model path with the variable you just usued before. Also, you created "IsValidClient" but never use it.

I would do it like that :
Spoiler

Not tested through. Also, you can improve the code even more by looping through the files in the folder wich contains the gloves. With a for loop as an exemple. Really, when you have so much variable to do a simple task, you might want to re-think your code.
Anyway, good luck for your next plugin ;3 !

When I Do This "PrintToChat(client, " \x04[AKz] \x07You Choosed \x02%s \x07Glove", model);"
Its say model code...

Arkarr 10-11-2016 13:31

Re: [CS:GO] Change Glove Menu
 
@AuTok1NGs
That was just an exemple. To fix that you could do a trie with the model name as key and the "normal name" as value.

Michauux 10-11-2016 13:48

Re: [CS:GO] Change Glove Menu
 
Please update link www for zippyshare to download, thanks!

Spyrek 10-11-2016 14:23

Re: [CS:GO] Change Glove Menu
 
Model pack is deleted from the server, please reupload.


All times are GMT -4. The time now is 12:00.

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