Skin System 2.33
2 Attachment(s)
Skin System Version: v2.33 First relase: 2015. 04. 26 Last update: 2015. 05. 03 Description If you kill enemy with a weapon then have you done +1 weapon point (example ak47) and earn the needed points then collect skin.Add new skin Open skins.cfg file [addons/amxmodx/configs/skinsystem/]Weapon types Code:
P228 Cvars Commands Screenshots http://kepfeltoltes.hu/150503/139316...toltes.hu_.jpg http://kepfeltoltes.hu/150503/277742...toltes.hu_.jpg Compatible AMX versions
|
Re: Skin System
Wonderful.
can do better preservation SteamID? |
Re: Skin System
Why do you save the points by name? Using SteamID is way more secure.
|
Re: Skin System
Quote:
comming to skins just changing color :3 ,instead of that use different skins, cs:go type skins would be awsome |
Re: Skin System
Quote:
|
Re: Skin System
Quote:
|
Re: Skin System 2.2
I edited.
|
Re: Skin System 2.2
This plugin may be cool if it would be done correctly.
PHP Code:
For your information, any array that should be used with player index must have 33 as dimension, not 31. PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Using static in plugin_precache(which is called only one time) is useless. read_file is deprecated native, use new file natives. You should also check if model path is fully valid(it has models/player/model_name and also .mdl extension) and if it exists on the server before precaching it(file_exists can do the job). If I'm not wrong, you read the skin file two times. Why ? Instead of intializing new strings, parse directly with vSkinMdl[Num][Already[Num]], so you won't have to call copy. PHP Code:
Don't acces cvar values inside a loop, cache it before. There are other improvements that can be done, but this is something to start with(the most obvious mistakes). |
Re: Skin System 2.2
|
Re: Skin System 2.2
Ooops, nevermind. Just didn't pay attention on how you fill the array.
|
All times are GMT -4. The time now is 21:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.