Raised This Month: $ Target: $400
 0% 

Get user weapons on death


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-30-2014 , 18:33   Re: Get user weapons on death
Reply With Quote #1

Lol, mottzi, thanks for the note. Really dumb - getting killer's weapons. Now it's all okay, thank you all guys!
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 18:43   Re: Get user weapons on death
Reply With Quote #2

hook curWeapon event, and save the weapons into global var.

after, use csx to hook the death and check the global var...

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-30-2014 , 20:28   Re: Get user weapons on death
Reply With Quote #3

Quote:
Originally Posted by ^SmileY View Post
hook curWeapon event, and save the weapons into global var.

after, use csx to hook the death and check the global var...

using CurWeapon would probably be the poorest way to go...
mottzi is offline
Send a message via MSN to mottzi
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 13:02.


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