Raised This Month: $71 Target: $400
 17% 

Knife-Skins v2.2.


Post New Thread Reply   
 
Thread Tools Display Modes
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 12-11-2013 , 10:26   Re: Knife Levels v1.0.
Reply With Quote #21

Quote:
Originally Posted by Strick3n View Post
The damage will increase by the number of the knife model.
Ohhh you right, cuse knifemodel = 1 so + 1 damge Your good I ain't thought of that.
Thank's.
ShLuMieL is offline
Strick3n
Member
Join Date: Apr 2013
Old 12-11-2013 , 10:29   Re: AW: Re: Knife Levels v1.0.
Reply With Quote #22

Quote:
Originally Posted by ShLuMieL View Post
Im agree, you are definitely right, so no body here tell me how can I fix the plugin, to make it with less line's?,
I'm already gave you an example, use my way.
Strick3n is offline
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 12-11-2013 , 10:44   Re: AW: Re: Knife Levels v1.0.
Reply With Quote #23

Quote:
Originally Posted by Strick3n View Post
I'm already gave you an example, use my way.
Yeah and thank's but Im ain't got any idea for how to do the menu with less line's.
You know? you have an idea?
ShLuMieL is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-11-2013 , 11:08   Re: Knife Levels v1.2.
Reply With Quote #24

Create a string for each menu item. If the player has the required level to use the knife use formatex(myString, charsmax(myString), "My Knife Name"), otherwise make the same with your "???" and check the required level at the menu item, like this :

PHP Code:
menu_additem(menumyString"1"g_iLevel[id] >= 1<<31
The "?" Operator "asks" if the given condition is true or false, the first thing after the "?" will be done if the condition is true, the one behind the ":" if it's false.

1<<31 means here that the item in menu will be grey and unusable.
__________________
Kia is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 12-11-2013 , 11:23   Re: AW: Re: Knife Levels v1.0.
Reply With Quote #25

Quote:
Originally Posted by ShLuMieL View Post
Im agree, you are definitely right, so no body here tell me how can I fix the plugin, to make it with less line's?,
I showed you one way on first page. This isnt the correct place for ask scripting help.
__________________
Jhob94 is offline
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 12-11-2013 , 11:28   Re: AW: Re: Knife Levels v1.0.
Reply With Quote #26

Quote:
Originally Posted by Jhob94 View Post
I showed you one way on first page. This isnt the correct place for ask scripting help.
Ok you are right. and thank's for your help.
ShLuMieL is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 12-11-2013 , 13:43   Re: Knife Levels v1.2.
Reply With Quote #27

Why do you have this stock?

Code:
stock log_kill
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 12-11-2013 , 15:03   Re: Knife Levels v1.2.
Reply With Quote #28

You should add p_knifes to this plugin in my oppinion.
__________________

Last edited by jingojang; 12-11-2013 at 15:14.
jingojang is offline
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 12-11-2013 , 16:53   Re: Knife-Skins v1.7.
Reply With Quote #29

Updated v1.7

Code:
v1.0
 - Initial Public Release -
 
v1.1
- Added New Commands -

v1.2
- Reduction lines at "fw_TakeDamage" - (Thank's to Strick3n).

v1.3
- Deleted unnecessary lines -

v1.4
- Changed command's  -

v1.5
- Added New AutoMessage's  -

v1.6
- Reduction lines at "Knife_Handler, SetKnife"  -

v1.7
- Added that player can see how much other player need for next level "   -
- Maked "Knife Skins Menu" more necessary   -
ShLuMieL is offline
hosimosi
Senior Member
Join Date: Apr 2013
Old 12-12-2013 , 02:18   Re: Knife-Skins v1.7.
Reply With Quote #30

Nice plugin
Now your code is good

Last edited by hosimosi; 12-12-2013 at 02:19.
hosimosi is offline
Reply


Thread Tools
Display Modes

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 10:16.


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