Raised This Month: $ Target: $400
 0% 

knife only


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mateo10
Veteran Member
Join Date: Jan 2006
Old 07-01-2007 , 11:20   Re: knife only
Reply With Quote #1

Test this:
Code:
#include <amxmodx> #include <fakemeta> public plugin_init() {     register_plugin("Force Knife", "1.00", "MaTTe");     register_forward(FM_PlayerPreThink, "forward_prethink"); } public forward_prethink(id) {     new temp;     new weapon = get_user_weapon(id, temp, temp);     if(weapon != CSW_KNIFE)     {         engclient_cmd(id, "weapon_knife");     } }
mateo10 is offline
Raging
Junior Member
Join Date: Jul 2006
Old 07-02-2007 , 12:33   Re: knife only
Reply With Quote #2

Thanks Matte,

It works good. You've been a great help for me.

Karma +++
Raging 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 21:27.


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