Ive looked but seeing as I am a noob to this kind of stuff Im not to sure how to make it set the weaps or the noclip at all .
as you can see Im not very far DX
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>
#include <cstrike>
#define PLUGIN "Sharks and Minnos"
#define VERSION "Beta"
#define AUTHOR "*[9mm]* Thomas"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_snm","admin_snm",ADMIN_LEVEL_C)
}
public admin_smn(id,level)
{
if ( !cmd_access(id,level,cid,3) )
return PLUGIN_HANDLED
give_item(id,"weapon_elite")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
How do I set the elites to the CT's and I know to give noclip it's set_user_noclip right? and how would I make it add to T's.
I couldn't find any plugins that preform a similar opperation
I figured this was how you would set it to the teams with CS_TEAM_CT or CS_TEAM_T
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>
#include <cstrike>
#define PLUGIN "Sharks and Minnos"
#define VERSION "Beta"
#define AUTHOR "*[9mm]* Thomas"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_snm","admin_snm",ADMIN_LEVEL_C)
}
public admin_smn(id,level)
{
if ( !cmd_access(id,level,cid,3) )
return PLUGIN_HANDLED
give_item(CS_TEAM_CT,"weapon_elite")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
give_item(CS_TEAM_CT,"ammo_9mm")
set_user_noclip(CS_TEAM_T)
}