O poveste fara sfarsit. LaLeagane - It's all about gaming!

2006 and still counting.
Skin Commands Prevention

CS:GO Skin Commands Prevention 1.1

Caracteristici principale

Afiseaza un mesaj prestabilit de catre dvs. atunci cand jucatorii tasteaza comenzile de !knife, !ws si !gloves in chat. Plugin util daca nu aveti skin-uri pe server si v-ati saturat ca jucatorii sa insiste sa foloseasca aceste comenzi si sa puna intrebari. Mesajul setat by default este "We do not have this plugin because it's against Valve's TOS. We are children of Jesus.", dar se poate modifica cu usurinta.


Comenzi

  • sm_knife

Cerinte de compatibilitate


Instructiuni de instalare

Extrageti fisierul .zip si plasati urmatoarele:
  • knife.sp in folderul /addons/sourcemod/scripting
  • knife.smx in folderul /addons/sourcemod/plugins
Code

PHP:
#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

public Plugin myinfo =
{
name = "Prevent !knife !ws !gloves",
    author = "Fig Newtons (Aaronpierce)",
    description = "Any player that executes commands: !knife !ws etc are greeted with a message saying those plugins aren't allowed.",
    version = "1.1",
    url = ""
};

public void OnPluginStart()
{
RegConsoleCmd("sm_knife", Command_Print);
    RegConsoleCmd("sm_ws", Command_Print);
    RegConsoleCmd("sm_gloves", Command_Print);
}

public Action Command_Print(int client, int args)
{
if (IsClientInGame(client))
    {
PrintToChat(client, "We do not have this plugin because it's against Valve's TOS. We are children of Jesus.");
    }
return Plugin_Handled;
}
Author
LALEAGANE
Downloads
54
Views
242
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LALEAGANE

shape1
shape2
shape3
shape4
shape5
shape6
Back
Top