Thread: 1337 Ninja
View Single Post
Velocity36
Senior Member
Join Date: Jul 2005
Old 08-29-2005 , 18:08  
Reply With Quote #8

I got the model for you like this, I'm working on disarm

Code:
/******************************************************************** *  AMXMOD X script.                                                 * *                                                                   * *  Ninja Mode: Gives the player ninja mode                          * *  By: B0oGeYm4n                                                    * *  Plugin Command: amx_ninja <Target>                               * *  <a href="http://www.freelance-killers.tk" target="_blank" rel="nofollow noopener">http://www.freelance-killers.tk</a>                                  * *                                                                   * ********************************************************************/ #include <amxmodx> #include <amxmisc> #include <fun> #include <engine> public plugin_init()     {     register_plugin("amx_ninja","0.1","B0oGeYm4n")     register_clcmd("amx_ninja","ninja",ADMIN_KICK," <name> - user is turned into a 1337 Ninja")     register_event(" CurWeapon", "cmd_speed", "be", "1=1")     set_task(0.1,"fast",0,"",0,"b")     } public plugin_precache()     {     precache_model("models/Katana.mdl")     return PLUGIN_CONTINUE } public ninja(id,level,cid)     {     if(!cmd_access(id,level,cid,2))         {         return PLUGIN_HANDLED     }         new arg[32]     read_argv(1,arg,31)     new player = cmd_target(id,arg,1)         if (!player)         {         return PLUGIN_HANDLED     }         set_user_health(player,1337)     set_user_maxspeed(player,999.0)     set_user_footsteps(player,1)     set_user_gravity(player,0.2)     set_user_armor(player,1337)         {         new clip, ammo, wpnid = get_user_weapon(id,clip,ammo)         if (wpnid == CSW_KNIFE) {             entity_set_string(id, EV_SZ_viewmodel, "models/Katana.mdl")         }     }         new name[32]     get_user_name(player,name,31)     client_print(0,print_chat,"[AMXX] %s is now a 1337 Ninja",name)         return PLUGIN_HANDLED }
__________________
[img]http://img81.**************/img81/593/velocityferrari7mx.jpg[/img]
Velocity36 is offline