Raised This Month: $ Target: $400
 0% 

spawn with no hud


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-23-2007 , 20:14   spawn with no hud
Reply With Quote #1

when a player did not join a team (joins spectator) through the changeteam menu (cs, no amxx) and the player gets spawn()ed, the player has no hud exept the money + time

anything amxx/something can do to force the player's hud show up?

ask me if you dont understand

see the big picture in the rar
Attached Thumbnails
Click image for larger version

Name:	nohud.jpg
Views:	473
Size:	27.2 KB
ID:	13439  
Attached Files
File Type: rar nohud.rar (200.2 KB, 158 views)
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME

Last edited by kp_uparrow; 01-24-2007 at 01:41.
kp_uparrow is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 01-23-2007 , 20:34   Re: spawn with no hud
Reply With Quote #2

you could check a players team sometime (when they spawn, switch weapon, etc.) and then if their team is UNASSIGNED, set their team to something else
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-23-2007 , 21:27   Re: spawn with no hud
Reply With Quote #3

You can also send a ResetHUD message to them, I think. If that doesn't work, force them to run fullupdate.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-24-2007 , 01:41   Re: spawn with no hud
Reply With Quote #4

how would u force them a ResetHUD or fullupdate

note: the person with no HUD join spectator already
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 01-24-2007 , 06:35   Re: spawn with no hud
Reply With Quote #5

kp_uparrow, what engine (plugin?) does spawn a player?
Simon Logic is offline
Send a message via Skype™ to Simon Logic
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-24-2007 , 10:09   Re: spawn with no hud
Reply With Quote #6

Quote:
Originally Posted by Simon Logic View Post
what engine (plugin?) does spawn a player?
fun
spawn(id)

Quote:
Originally Posted by Hawk552 View Post
You can also send a ResetHUD message to them, I think. If that doesn't work, force them to run fullupdate.
Neither works.

ResetHUD also shows round timer as 0:00 and money as 0

Last edited by [ --<-@ ] Black Rose; 01-24-2007 at 10:34.
[ --<-@ ] Black Rose is offline
osk522
BANNED
Join Date: Dec 2006
Location: Slöinge, Falkenberg, Hal
Old 01-24-2007 , 09:45   Re: spawn with no hud
Reply With Quote #7

Try to include fun and write give_item(id,"item_suit")
Not shure it'll work tough...
osk522 is offline
Send a message via MSN to osk522
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-24-2007 , 11:53   Re: spawn with no hud
Reply With Quote #8

giving an item does not work

so its stuck?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 01-24-2007 , 13:08   Re: spawn with no hud
Reply With Quote #9

Quote:
Originally Posted by kp_uparrow
when a player did not join a team (joins spectator) through the changeteam menu (cs, no amxx) and the player gets spawn()ed, the player has no hud exept the money + time

anything amxx/something can do to force the player's hud show up?

ask me if you dont understand

see the big picture in the rar
I don't get this...

Radar is shown.
Timer is shown.
Money is shown.
Buyzone is shown.
Flashlight won't be shown if its not active I don't think.
Knife won't display anything since its not an ammo item.

Unless you are on about the Weapon Selection, can't you press keys 1 - x ?

[edit]
I SEE

Health & Armor are missing, let me find the code.

Try this:
Code:
message_begin(MSG_ONE, get_user_msgid("HideWeapon"), {0,0,0}, id) write_byte(0) message_end()

0 // Show HUD
(1<<0) // No Ammo, No Crosshair
(1<<1) // No FlashLight
(1<<2) // No HUD
(1<<3) // No Health, No Armor, No Radar
(1<<4) // No Timer
(1<<5) // No Money
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 01-24-2007 at 13:53.
Orangutanz is offline
osk522
BANNED
Join Date: Dec 2006
Location: Slöinge, Falkenberg, Hal
Old 01-26-2007 , 11:04   Re: spawn with no hud
Reply With Quote #10

Quote:
Originally Posted by kp_uparrow View Post
giving an item does not work

so its stuck?
But did you try to give THAT item (item_suit)?
osk522 is offline
Send a message via MSN to osk522
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 22:26.


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