Raised This Month: $ Target: $400
 0% 

item_thighpack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ricky
Senior Member
Join Date: Jul 2005
Old 03-08-2006 , 02:44   item_thighpack
Reply With Quote #1

Code:
		else if (get_user_team(id)==CTS)
		{
			give_item(id,"item_thighpack")
			give_item(id,"weapon_deagle")
			give_item(id,"ammo_50ae")
I can't see why the cts aren't getting a defusal kit when they're given the deagle throught this code. Can anyone help?
Ricky is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-08-2006 , 04:51  
Reply With Quote #2

Use the cstrike module:
Code:
//cstrike.inc /* Returns 1 if user has a defuse kit.  */ native cs_get_user_defuse(index); /* If defusekit is 1, the user will have a defuse kit.  * You can specify a different colour for the defuse kit icon showing on hud. Default is the normal green.  * You can specify an icon. Default is "defuser". Set flash to 1 if you want the icon to flash red.  */ native cs_set_user_defuse(index, defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0);
VEN 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 20:17.


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