Raised This Month: $ Target: $400
 0% 

Change roundtime plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Michciu94
Junior Member
Join Date: Nov 2016
Old 08-01-2019 , 15:14   Change roundtime plugin
Reply With Quote #1

Welcome,
I try to write simple plugin to cs go when I can change roundtime, but this not working for me..
Anyone can help?


#pragma semicolon 1
#include <sourcemod>

public Plugin:myinfo =
{
name = "change Round Time",
author = "Michu",
version = "1.0"
};

public Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
new Handle:hCvar = FindConVar("mp_roundtime");
SetConVarBounds(hCvar, ConVarBound_Upper, true, 120.0);
CloseHandle(hCvar);
}
Michciu94 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-01-2019 , 16:10   Re: Change roundtime plugin
Reply With Quote #2

If you're writing a SourceMod plugin, you probably shouldn't post in the AMX Mod X section. Am I right?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Michciu94
Junior Member
Join Date: Nov 2016
Old 08-01-2019 , 16:12   Re: Change roundtime plugin
Reply With Quote #3

yes, but i can't see delete option
Michciu94 is offline
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 17:27.


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