Jump to content
GIGN Forum

Recommended Posts

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

  • 2 weeks later...

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 by .:TolstY:.
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...