This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Trying to add ViP Tag to this script.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tamadrums92
Junior Member
Join Date: Jul 2012
Old 09-02-2012 , 08:21   Trying to add ViP Tag to this script.
Reply With Quote #1

So... Yeah, I'm completely lost.

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;

}
tamadrums92 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 14:00.


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