Raised This Month: $ Target: $400
 0% 

checking if player had a weapon when the player dies


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 04-09-2005 , 02:04   checking if player had a weapon when the player dies
Reply With Quote #1

how would I check if a player had this weapon when the player died??

i dont know if this will work

Code:
public death_event() {
	
	for(new id = 0; id < get_maxplayers(); id++) {

	new userswep = user_has_weapon(id,userswep)

	if(userswep == CSW_MP5) {
                //codes
	}
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
 


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 09:59.


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