Raised This Month: $ Target: $400
 0% 

2Bombs? :S


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DaxProxy
Senior Member
Join Date: Sep 2007
Old 07-28-2010 , 17:11   Re: 2Bombs? :S
Reply With Quote #1

Quote:
Originally Posted by asd13 View Post
Now everyone, ct or t no matther got bomb with VipFlags ...
PHP Code:
if( HasC4[id] ) {
                
give_itemid "weapon_c4" );
            } 
-->

PHP Code:
if(!HasC4[id] && cs_user_team(id) == CSW_TERRORIST) {
                
give_itemid "weapon_c4" );
            } 
Kui see ei aita...siis lihtsalt tee kontroll:
PHP Code:

(Im not sure if cs_user_team is correct function name)

Prethink:
if(
cs_user_team(id) != CSW_TERRORIST){
client_cmd(c4drop)
}
Vmsellist 
__________________

Want ApolloRP for Counter-Strike? Show your support: http://forums.alliedmods.net/showthr...39#post1264739

Last edited by DaxProxy; 07-28-2010 at 17:14.
DaxProxy is offline
asd13
Member
Join Date: Apr 2009
Old 07-28-2010 , 17:28   Re: 2Bombs? :S
Reply With Quote #2

EST: Ikkagi sellest team kontrollimisest pole abi kuna ta annab siis kõigile terroristidele pommi kellel on VipFlags kasutades seda.

ENG: Checking for team is no use, then it gives to every terrorist bomb with VipFlags using this.

PHP Code:
if(!HasC4[id
asd13 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-28-2010 , 17:40   Re: 2Bombs? :S
Reply With Quote #3

If HasC4[id] means that the player should receive a c4, then check also if !user_has_weapon(id, CSW_C4), else do as was suggested few time replace HasC4[id] with !HasC4[id]
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 00:13.


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