Raised This Month: $ Target: $400
 0% 

Make code for all the Terrorist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Chokitu
Senior Member
Join Date: Oct 2013
Old 04-26-2015 , 22:00   Make code for all the Terrorist
Reply With Quote #1

How can I make this work like this
If admin type !trak
All the T's gets Ak-47
If Admin type !ctm4
All the Ct's gets m4


Code:
#include <sourcemod>
#include <sdktools_functions>

public Plugin:myinfo = {
	name = "TRAK",
	author = "Chokitu",
	description = "1.0",
	version = "1.0",
	url =""
	};
	
	public OnPluginStart()
	{
	RegAdminCmd("sm_trak", Trak, ADMFLAG_SLAY);
	RegAdminCmd("sm_ctm4", Ctm4, ADMFLAG_SLAY);
	}
	
	public Action:Trak(client, args)
	{
	GivePlayerItem(client, "weapon_ak47");
	}
	
		public Action:Ctm4(client, args)
	{
	GivePlayerItem(client, "weapon_m4a4");
	}
Chokitu is offline
Send a message via Skype™ to Chokitu
 



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 11:08.


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