Thread: [CSS] VIP
View Single Post
Author Message
PriceLess
Senior Member
Join Date: Sep 2012
Location: Jungle
Old 11-09-2012 , 10:48   [CSS] VIP
Reply With Quote #1

VIP 1.1
Inactive - coming a new version later, but not sure when.


Info
This is a basic vip plugin that stores vip members in a database.
The features are further down in the description.

Commands
  • sm_givevip <steamid|#name> <1|0> - 1 = vip on - 0 = vip off
  • sm_vip - open the vip menu.


Requirements
  • Sourcemod
  • metamod
  • css server
  • mysql / database

Features
  • Bullet tracer. (updated works)
  • Chat tag. (fixed)
  • Move to spec.
  • More health.
  • More armor.
  • More cash.
  • VIP menu with toggle of tracers and move to spectator. (updated)


Cvar example:
PHP Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3655)
// ConVars for plugin "newproject.smx"


// amount of armor on spawn
// -
// Default: "120"
sm_vip_armor "121"

// the chat tag where it says 'yourtag'
// -
// Default: "yourtag"
sm_vip_chat "VIP"

// the time you want your 'vip's' to be vip
// -
// Default: "31"
sm_vip_duration "31"

// Amount of hp on spawn
// -
// Default: "120"
sm_vip_health "121"

// amount of money on spawn
// -
// Default: "1200"
sm_vip_money "1201"

// VIP Verion
// -
// Default: "1.0"
sm_vip_version "1.0" 
Example database.cfg
PHP Code:
    "vip"
    
{
        
"driver"                "mysql"
        "host"                "localhost"
        "database"            "yourdatabasename"
        "user"                "username"
        "pass"                "password"
        
//"timeout"            "0"
        
"port"            "3306"
    

If there are any problems, issues please post comments, or pm me.
I need feedbacks too.

Hope you enjoy the plugin! Priceless
Attached Files
File Type: sp Get Plugin or Get Source (vip.sp - 4849 views - 9.3 KB)

Last edited by PriceLess; 02-05-2013 at 04:52.
PriceLess is offline