Raised This Month: $51 Target: $400
 12% 

Knife Round v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
bwin.reebok
BANNED
Join Date: Oct 2009
Location: Land(IND)
Old 10-18-2009 , 03:15   Re: Knife Round v1.5 by Juice & tolsty
Reply With Quote #21

Quote:
Originally Posted by lazarev View Post
or
solves that problem

[EDIT] Shield blocking added, update later

amx_restrict takes time...i will be waiting 4 u.....hmm mp_startmoney 800 is not good idea than after if i want 16000 than ???? so better is blocking shiled in plugin itself..also add after knife round.Secondary weapon round
bwin.reebok is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 10-18-2009 , 09:26   Re: Knife Round v1.6
Reply With Quote #22

Update:
Quote:
v1.6 - Shield blocking, Ignoring C4 while KR, PL and NL translations
lazarev is offline
Old 10-18-2009, 12:40
ditmesteam
This message has been deleted by ditmesteam.
Jon
Veteran Member
Join Date: Dec 2007
Old 10-18-2009 , 14:05   Re: Knife Round v1.6
Reply With Quote #23

PHP Code:
public cur_weapon() {
    if(
g_KnifeRound) {
        for(new 
0<= g_iMaxPlayersi++)
    {
        if (
is_user_alive(i))
        
engclient_cmd(i"weapon_knife")
    }
  }

This is wrong. It will loop through all players and execute "weapon_knife" each time CurWeapon is called for only one player.

You might as well move the build_menu( ) code to the other menu code, allthough there is nothing wrong with it.
Jon is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 10-18-2009 , 15:06   Re: Knife Round v1.6
Reply With Quote #24

PHP Code:
public cur_weapon(id) {
    if(
g_KnifeRound) {
        if (
is_user_alive(id)) {
        
engclient_cmd(id"weapon_knife")
    }
  }

???
lazarev is offline
ditmesteam
Senior Member
Join Date: Oct 2009
Old 10-18-2009 , 16:29   Re: Knife Round v1.6
Reply With Quote #25

I tested. finish of one round, automatic change into guns mode in new round!
ditmesteam is offline
bwin.reebok
BANNED
Join Date: Oct 2009
Location: Land(IND)
Old 10-18-2009 , 23:55   Re: Knife Round v1.6
Reply With Quote #26

Quote:
Originally Posted by Jon View Post
PHP Code:
public cur_weapon() {
    if(
g_KnifeRound) {
        for(new 
0<= g_iMaxPlayersi++)
    {
        if (
is_user_alive(i))
        
engclient_cmd(i"weapon_knife")
    }
  }

This is wrong. It will loop through all players and execute "weapon_knife" each time CurWeapon is called for only one player.

You might as well move the build_menu( ) code to the other menu code, allthough there is nothing wrong with it.

no weapon knife is given to all players for first round.i checked it...
bwin.reebok is offline
bwin.reebok
BANNED
Join Date: Oct 2009
Location: Land(IND)
Old 10-19-2009 , 00:03   Re: Knife Round v1.6
Reply With Quote #27

+karma for giving shield advice
bwin.reebok is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 10-19-2009 , 02:14   Re: Knife Round v1.6
Reply With Quote #28

Quote:
Originally Posted by bwin.reebok View Post
no weapon knife is given to all players for first round.i checked it...
You don't know what you are talking about.
Jon is offline
bwin.reebok
BANNED
Join Date: Oct 2009
Location: Land(IND)
Old 10-19-2009 , 03:52   Re: Knife Round v1.6
Reply With Quote #29

i was telling that y 2 add ur code.the plugin is working fyn...i ve checked it all players r getting knife on first round.
--------------------------------------------------------------------------
Eng Improving
bwin.reebok is offline
bwin.reebok
BANNED
Join Date: Oct 2009
Location: Land(IND)
Old 10-20-2009 , 15:54   Re: Knife Round v1.6
Reply With Quote #30

Edit dis to get pistol that is secondary weapons after team choosing
bwin.reebok is offline
Reply



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


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