Raised This Month: $ Target: $400
 0% 

solved


Post New Thread Reply   
 
Thread Tools Display Modes
lucky109
Senior Member
Join Date: Jan 2005
Old 01-30-2009 , 09:21   Re: how to detect killer awp zoom or not when client_death?
Reply With Quote #11

solved

Last edited by lucky109; 02-01-2009 at 08:47.
lucky109 is offline
zwfgdlc
Senior Member
Join Date: May 2006
Old 01-30-2009 , 09:47   Re: how to detect killer awp zoom or not when client_death?
Reply With Quote #12

changle
PHP Code:
get_pdata_int(killer364
to
PHP Code:
get_pdata_int(killer363
zwfgdlc is offline
lucky109
Senior Member
Join Date: Jan 2005
Old 01-30-2009 , 10:21   Re: how to detect killer awp zoom or not when client_death?
Reply With Quote #13

solved

Last edited by lucky109; 02-01-2009 at 08:47.
lucky109 is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 01-30-2009 , 21:33   Re: how to detect killer awp zoom or not when client_death?
Reply With Quote #14

I don't know why your test failed. but i test it with this and it works
Code:
register_event("DeathMsg", "hook_death", "a")
public hook_death()
{
    new k = read_data(1)
    client_print(k, print_chat, "%d", get_pdata_int(k, 364)) 
}
Quote:
Originally Posted by zwfgdlc View Post
changle
PHP Code:
get_pdata_int(killer364
to
PHP Code:
get_pdata_int(killer363
363 is the same thing as cs_get_user_zoom and it doesn't work
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
lucky109
Senior Member
Join Date: Jan 2005
Old 01-31-2009 , 03:04   Re: how to detect killer awp zoom or not when client_death?
Reply With Quote #15

Quote:
Originally Posted by jim_yang View Post
I don't know why your test failed. but i test it with this and it works
Code:
register_event("DeathMsg", "hook_death", "a")
public hook_death()
{
    new k = read_data(1)
    client_print(k, print_chat, "%d", get_pdata_int(k, 364)) 
}
363 is the same thing as cs_get_user_zoom and it doesn't work
what is different in "public client_death" and "register_event DeathMsg" ?

it's work now using register_event DeathMsg.
thank jim_yang

Last edited by lucky109; 01-31-2009 at 03:41.
lucky109 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 22:20.


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