Raised This Month: $ Target: $400
 0% 

Setting team specified variables


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bwgrubbs1
Senior Member
Join Date: Sep 2006
Old 04-24-2007 , 02:33   Setting team specified variables
Reply With Quote #1

Lets say I have a function defined so that if checks what team everyone is on and gives them weapons accordingly...how do you set it so that if someone is on this specified team it will set their footsteps = 0...i.e. silent running?
bwgrubbs1 is offline
Samurai [/]
Member
Join Date: Sep 2006
Old 04-24-2007 , 08:56   Re: Setting team specified variables
Reply With Quote #2

Quote:
Originally Posted by bwgrubbs1 View Post
Lets say I have a function defined so that if checks what team everyone is on and gives them weapons accordingly...how do you set it so that if someone is on this specified team it will set their footsteps = 0...i.e. silent running?
If you need this for hide n seek use ->

PHP Code:
public HiderItems(id) {
strip_user_weapons(id)
give_item(id"weapon_flashbang")
give_item(id"weapon_flashbang")
set_user_footsteps (id1)
give_item(id"weapon_smokegrenade")

Replace that ..
__________________
Samurai [/] is offline
bwgrubbs1
Senior Member
Join Date: Sep 2006
Old 04-24-2007 , 11:30   Re: Setting team specified variables
Reply With Quote #3

no its for a gungame server i have...so that when you reach certain levels in the game you run silent and are invisible...hehe its kinda evil
bwgrubbs1 is offline
bwgrubbs1
Senior Member
Join Date: Sep 2006
Old 04-24-2007 , 12:31   Re: Setting team specified variables
Reply With Quote #4

btw i tried your thing

Code:
set_user_footsteps (id,1)

this does nothing...I thought maybe it needs to be

Code:
set_user_footsteps (id,0)

but again Nothing....plz help
bwgrubbs1 is offline
Howdy!
Senior Member
Join Date: Feb 2007
Old 04-24-2007 , 14:01   Re: Setting team specified variables
Reply With Quote #5

Quote:
Originally Posted by bwgrubbs1 View Post
btw i tried your thing


Code:
</p><p>set_user_footsteps (id,1)</p><p>



this does nothing...I thought maybe it needs to be


Code:
</p><p>set_user_footsteps (id,0)</p><p>



but again Nothing....plz help
Heh.. 0 means that you can hear footsteps.
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! 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 06:35.


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