Raised This Month: $51 Target: $400
 12% 

How To Add Plugin @all @t @ct


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Parisapo
Junior Member
Join Date: May 2015
Old 02-04-2019 , 13:13   How To Add Plugin @all @t @ct
Reply With Quote #1

How do I add the plugin commands such as @all @t @ct I did.

Code:
#include <sourcemod>

public Plugin:myinfo =
{
	name = "[CSGO] !canver by SelimYasar",
	description = "Can Verme Türkçeleştirme",
	author = "Selim Yasar",
	version = "1.0",
	url = "selimyasar.com"
}

public OnPluginStart()
{
	RegAdminCmd("sm_canver", Command_healthp, ADMFLAG_GENERIC);
}

public Action:Command_healthp(client, args)
{
	if(args < 1)
	{
		ReplyToCommand(client," \x02[Can Verme Plugini] \x10Kullanımı: \x0B!canver  \x01miktar \x10Örnek: \x0B!canver \x01miktar");
		return Plugin_Handled;
	}
	new String:name[64];
	new String:arg1[256];
	GetCmdArg(1, arg1, 256);
	GetClientName(client, name, 64);
	ServerCommand("sm_hp %s", arg1);
	PrintToChatAll(" \x02[%s] \x10%s \x01tarafından \x0BMahkumlara \x0E%s \x04can verildi.", "Can Verme Plugini", name, arg1);
	return Plugin_Handled;
}
Parisapo is offline
 



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 13:15.


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