AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   About Vscript (https://forums.alliedmods.net/showthread.php?t=299577)

MithatGuner 07-19-2017 03:46

About Vscript
 
How to get servercommand value and set it to bool
example
if mp_teammates_are_enemies 1
ff = 1
is it possible ?

PHP Code:

ff <- 1

if( GetDeveloperLevel() > 
printl"Script Denetleniyor..." );

function 
Mithat()
{
    if(
ff == 1)
    {
        
ScriptPrintMessageCenterAll("<font size = '26' color='#dd2f2f'><u><center>FF Acildi</center></u></font>");
    }
    else
    {
        
ScriptPrintMessageCenterAll("<font size = '26' color='#dd2f2f'><u><center>FF Kapatildi</center></u></font>");
    }



Timocop 07-19-2017 04:19

Re: About Vscript
 
Quote:

Originally Posted by asherkin (Post 2372676)
We don't really cover VScript here, you might have more luck elsewhere if you don't want to use SourceMod.

Doesnt seem like CS:GO has any Convar functions like L4D2 does.
Full CS:GO script list here: https://developer.valvesoftware.com/...ript_Functions

MithatGuner 07-19-2017 04:42

Re: About Vscript
 
Impossible in csgo ?


All times are GMT -4. The time now is 06:35.

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