AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   [CS1.6/CZ] Natives Knife Range (https://forums.alliedmods.net/showthread.php?t=189103)

yokomo 07-03-2012 13:47

[CS1.6/CZ] Natives Knife Range
 
3 Attachment(s)
Description:
This is a plugin to [re]set custom knife range for player.

Natives:
Code:

//All natives will return false on client_connect, client_putinserver. So you need to set_task at least 0.2 seconds in client_putinserver
//Get user swing range value
native Float:get_user_swing_range(id)

//Set user swing range value
native set_user_swing_range(id, Float:value)

//Get user stab range value
native Float:get_user_stab_range(id)

//Set user stab range value
native set_user_stab_range(id, Float:value)

//Reset user swing range value
native reset_user_swing_range(id)

//Reset user stab range value
native reset_user_stab_range(id)

Modules:
Code:

#include <cstrike>
#include <fakemeta>
#include <hamsandwich>

Credits:
Code:

Fai
Shardow
Mercylezz

This my first plugin, sorry if code is not good enough. Example plugin also included.

JoKeR LauGh 07-04-2012 09:51

Re: [CS1.6/CZ] Natives Knife Range
 
Thanks for the natives. This would be fun. ;)

SyluxLockjaw100 07-04-2012 21:36

Re: [CS1.6/CZ] Natives Knife Range
 
Cool,I appreciate your work. It's going to be useful too :)

Y060N 07-05-2012 02:49

Re: [CS1.6/CZ] Natives Knife Range
 
I got me an idea :)

http://zombie-mod.ru/uploads/posts/t...rs_skill_2.jpg

yokomo 07-05-2012 05:42

Re: [CS1.6/CZ] Natives Knife Range
 
Quote:

Originally Posted by SyluxLockjaw100 (Post 1743578)
Cool,I appreciate your work. It's going to be useful too :)

Thanks you should try to use it :)

Quote:

Originally Posted by Y060N (Post 1743673)

Yea i got the same idea too, i play on CSO Taiwan and try to use this zombie class, it seem it have 2 skills 1.low gravity 2.long hand lol(can be set using this native haha)

fringe 07-05-2012 08:43

Re: [CS1.6/CZ] Natives Knife Range
 
nice idea :D

i love it

JoKeR LauGh 07-05-2012 09:08

Re: [CS1.6/CZ] Natives Knife Range
 
@yokomo

How to make the range to be constant when someone is using a knife?
I mean, you no need to say /cmdblabla all the time. Sorry for my scripting level.

SyluxLockjaw100 07-05-2012 15:20

Re: [CS1.6/CZ] Natives Knife Range
 
Quote:

Originally Posted by JoKeR LauGh (Post 1743857)
@yokomo

How to make the range to be constant when someone is using a knife?
I mean, you no need to say /cmdblabla all the time. Sorry for my scripting level.

Code:

public FwdPlayerSpawnPost(id)
{
    if(is_user_alive(id)
    set_user_swing_range(id, 32.0)
    set_user_stab_range(id, 300.0) 0   
}

Like this?

yokomo 07-05-2012 23:04

Re: [CS1.6/CZ] Natives Knife Range
 
1 Attachment(s)
Quote:

Originally Posted by JoKeR LauGh (Post 1743857)
@yokomo

How to make the range to be constant when someone is using a knife?
I mean, you no need to say /cmdblabla all the time. Sorry for my scripting level.

What do you mean by constant? it need to set range every cmd is exec? like zombie skill?

JoKeR LauGh 07-06-2012 11:06

Re: [CS1.6/CZ] Natives Knife Range
 
I mean like if you press ATTACK1 or ATTACK2 every time you will have the edited range of swing or stab.

yokomo 07-06-2012 13:31

Re: [CS1.6/CZ] Natives Knife Range
 
Quote:

Originally Posted by JoKeR LauGh (Post 1744663)
I mean like if you press ATTACK1 or ATTACK2 every time you will have the edited range of swing or stab.

Use this code is okay.

cOMpirm 07-09-2012 20:58

Re: [CS1.6/CZ] Natives Knife Range
 
can u make no cooldown, no need to use button use just simple mouse1, mouse2 range? example in zombie class? please

EDIT:
Quote:

Originally Posted by Y060N (Post 1743673)

DONE. I MADE ONE XD

striker07 07-22-2012 14:49

Re: [CS1.6/CZ] Natives Knife Range
 
very nice,
a while ago i needed something like this but i didnt had enough expierence to make it myself so i just left it.
you should add a native to that checks if a player of opposite team is in the players kniferange

gj!++

yokomo 08-21-2012 10:54

Re: [CS1.6/CZ] Natives Knife Range
 
@mod
I don't want to support this plugin anymore, so you can do what you want.

Arkshine 08-21-2012 15:13

Re: [CS1.6/CZ] Natives Knife Range
 
Ok. Unapproved so.

bibu 08-23-2012 17:20

Re: [CS1.6/CZ] Natives Knife Range
 
Should it be then not trashed, according:

http://forums.alliedmods.net/showthread.php?t=86358

Arkshine 08-23-2012 17:23

Re: [CS1.6/CZ] Natives Knife Range
 
What are you talking about ? Your link is irrelevant to what he decided and the thread is not trashed.

bibu 08-24-2012 12:45

Re: [CS1.6/CZ] Natives Knife Range
 
I mean, unapproved plugins should be still supported according Hawk's post.

Arkshine 08-24-2012 13:41

Re: [CS1.6/CZ] Natives Knife Range
 
You understand wrongly Hawk552's post. He says just because a plugin has been unapproved doesn't mean the plugin can't be supported and complaining/whining won't change the approval status. That's not "you have to support" but "you can still support".

Yokomo said just he wants to stop the support of this plugin. He has not complained, nor the plugin was unapproved before, and was up to an Approver to do what he wanted. I decide to unapprove it since I know the plugin is working and other people can support this plugin by helping in the thread.


All times are GMT -4. The time now is 20:13.

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