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

How too use this plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
krillex1
Junior Member
Join Date: Sep 2012
Old 10-28-2015 , 08:54   How too use this plugin
Reply With Quote #1

Hello! (:

Im new too this srcds area.

Can somone please tell me how do i use this code?

Code:
#include <sourcemod> 
#include <smlib> 

#define PLUGIN_VERSION "1.0" 

#pragma semicolon 1 

public Plugin:myinfo = 
{ 
    name = "[ANY] Slay after joining a team", 
    author = "Headline", 
    description = "Slays the when a client chooses a team.", 
    version = PLUGIN_VERSION, 
    url = "http://www.michaelwflaherty.com" 
}; 

public OnPluginStart() 
{ 
    AddCommandListener(Command_JoinTeam, "jointeam"); // Hook Join Team 
} 


public Action:Command_JoinTeam(client, const String:command[], argc)   
{ 
    CreateTimer(0.2, Timer_Slay, client, TIMER_FLAG_NO_MAPCHANGE); 
} 

public Action:Timer_Slay(Handle:hTimer, any:client) 
{ 
    ForcePlayerSuicide(client); 
}
Can somone make an working SMX or SP of it?
So i can use it on my server on CS:GO.

Thanks!
krillex1 is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 10-28-2015 , 09:32   Re: How too use this plugin
Reply With Quote #2

Wrong section, there is no source place

Link of source script help:https://forums.alliedmods.net/forumdisplay.php?f=107

Last edited by Fuck For Fun; 10-28-2015 at 09:34.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply



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 19:12.


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