Raised This Month: $ Target: $400
 0% 

curweapon help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Samurai [/]
Member
Join Date: Sep 2006
Old 04-17-2007 , 15:33   curweapon help
Reply With Quote #1

PHP Code:
public event_curweapon(id
{     
new 
wpn read_data(2); 
if(
wpn != CSW_USP)
return 
PLUGIN_CONTINUE
strip_user_weapons
(id)
give_item (id"weapon_knife")
return 
PLUGIN_CONTINUE;  

How can i make same thing to glock, but glock would give 2flashbangs and 1 smokegrenade instead.

and if terrorist side player got knife it would do same
__________________
Samurai [/] is offline
 



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 06:37.


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