OneSKILL Posted August 29, 2009 Report Share Posted August 29, 2009 Pārveidoju shine pluginu, bet kā var uzlikt lai iedod scout bez lodēm? #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #define PLUGIN "IEROCI" #define VERSION "1.0" #define AUTHOR "ShInE" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd( "say /scout","cmd_scout") } public cmd_scout(id) { give_item(id,"weapon_scout") return PLUGIN_HANDLED } Link to comment Share on other sites More sharing options...
.:TolstY:. Posted September 11, 2009 Report Share Posted September 11, 2009 (edited) meegini.. #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #define PLUGIN "IEROCI" #define VERSION "1.0" #define AUTHOR "ShInE" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd( "say /scout","cmd_scout") } public cmd_scout(id) { new weapon_id = give_item(id,"weapon_scout") cs_set_weapon_ammo(weapon_id, 0); return PLUGIN_HANDLED } Edited September 11, 2009 by .:TolstY:. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now