Raised This Month: $ Target: $400
 0% 

pev_gamestate


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-12-2009 , 14:33   pev_gamestate
Reply With Quote #1

What ent data is saved in pev_gamestate ?
Empowers is offline
Send a message via ICQ to Empowers
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-12-2009 , 14:56   Re: pev_gamestate
Reply With Quote #2

http://garrens.com/xPaw/pev_research.html

Quote:
Don't know exactly what this does but in CS:
1.0 = No Shield
0.0 = Shield
__________________
xPaw is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-12-2009 , 14:58   Re: pev_gamestate
Reply With Quote #3

Quote:
Don't know exactly what this does but in CS:
1.0 = No Shield
0.0 = Shield
This is wrong.. I saw many times during testing player had that value set to 1 when he had no shield.
Empowers is offline
Send a message via ICQ to Empowers
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-12-2009 , 15:03   Re: pev_gamestate
Reply With Quote #4

Seems to be an integer, not a float (according to HLSDK and .inc enums), can't find any use of it in HLSDK.
Why do you ask this ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 04-12-2009 , 15:12   Re: pev_gamestate
Reply With Quote #5

Quote:
Originally Posted by Empowers View Post
This is wrong.. I saw many times during testing player had that value set to 1 when he had no shield.
Re-read what he said.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-12-2009 , 15:07   Re: pev_gamestate
Reply With Quote #6

its a boolean
Empowers is offline
Send a message via ICQ to Empowers
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-12-2009 , 15:11   Re: pev_gamestate
Reply With Quote #7

Was reffering to this :
Code:
	int			flDuckTime;
	int			iStepLeft;
	float		flFallVelocity;

	int			gamestate;

	int			oldbuttons;

	int			groupinfo;
Why you want to know ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-13-2009 , 07:00   Re: pev_gamestate
Reply With Quote #8

So... Any suggestions?
Empowers is offline
Send a message via ICQ to Empowers
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-13-2009 , 07:42   Re: pev_gamestate
Reply With Quote #9

Found nothing about that.
Arkshine is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-13-2009 , 16:03   Re: pev_gamestate
Reply With Quote #10

I saw that when player first spawns in the world it is always set to 1,
but before when player is connecting it's 0.
Empowers is offline
Send a message via ICQ to Empowers
Reply


Thread Tools
Display Modes

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 02:28.


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