Raised This Month: $ Target: $400
 0% 

Noclip and weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
thomas_rox3
Junior Member
Join Date: Jan 2006
Old 04-06-2006 , 21:35  
Reply With Quote #3

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)     }
thomas_rox3 is offline
Send a message via MSN to thomas_rox3
 



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 16:37.


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