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() > 0 )
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>");
}
}