AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change roundtime plugin (https://forums.alliedmods.net/showthread.php?t=317849)

Michciu94 08-01-2019 15:14

Change roundtime plugin
 
Welcome,
I try to write simple plugin to cs go when I can change roundtime, but this not working for me.. :roll:
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);
}

OciXCrom 08-01-2019 16:10

Re: Change roundtime plugin
 
If you're writing a SourceMod plugin, you probably shouldn't post in the AMX Mod X section. Am I right?

Michciu94 08-01-2019 16:12

Re: Change roundtime plugin
 
yes, but i can't see delete option


All times are GMT -4. The time now is 17:27.

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