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

cs_get_user_team , case 1 , 2 & 3??


Post New Thread Reply   
 
Thread Tools Display Modes
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-22-2011 , 10:18   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #11

Quote:
Originally Posted by Stressful View Post
set_hudmessage(0, 255, 0, -1.0, -1.0)

...

I wan the hud msg to be visible still when the player joined the game and playing for like about 20 sec perhaps . How do I do that?
First you'll need to set the duration o 20.0 for the message, see funcwiki for full argument list.

Still, i think hud messages disappear when player spawns, so you might want to print the message at player spawn, make sure you check if player is alive because Ham_Spawn triggers when player is connecting aswell.
__________________
Hunter-Digital is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-22-2011 , 14:22   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #12

Quote:
Originally Posted by Dolph_Ziggler View Post
you must check if team is UNNASIGNED !!!
Please stop commenting on things you don't know.
__________________
fysiks is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 06-22-2011 , 22:52   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #13

Quote:
First you'll need to set the duration o 20.0 for the message, see funcwiki for full argument list.

Still, i think hud messages disappear when player spawns, so you might want to print the message at player spawn, make sure you check if player is alive because Ham_Spawn triggers when player is connecting aswell.
There's alot and I dono which one . Hmm .. But that one , Everytime a player is spawn , the message will keep repeating , I just need it to show once then player connected . Hmm I user HUD Msg because I nid that to display certain "rules" so its perhaps easier if i uses hud than printchat.
Stressful is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-23-2011 , 02:13   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #14

Use the variable method... just replace team info and the switch and all that with spawn and cs_get_user_team() ... and so on.
__________________
Hunter-Digital is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 06-23-2011 , 08:06   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #15

hmm.. Ok Thanks
Stressful 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:17.


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