I'm so lost. I'm "attempting" to add [VIP] tags in addition to this. any help would be appreciated
Code:
#include <sourcemod>
#include <sdktools>
#include <cstrike>
#include <sdkhooks>
#define PLUGIN_VERSION "1.0.0"
public Plugin:myinfo =
{
name = "VIP Tag",
author = "-{RPG}- DoM",
description = "Adds [VIP] to specified players.",
version = PLUGIN_VERSION,
url = "http://www.RisingPhoenixGaming.net"
}
public OnPluginStart()
{
RegConsoleCmd("sm_vipsay", CmdsayV);
}
public Action:CmdsayV(client, args)
if(CheckCommandAcess(client, "Vip", ADMFLAG_RESERVATION)
{
new Sting:name[MAX_NAME_LENGTH]
GetClientName(client, name, sizeof(name))
PrinttHintText(client "%s says hello", name);
}
else
{
PrintToChat(Client, "\x02 You do not have access to this command");
}
return Plugin_Handled;
}