disable commands in world 2

Started by bohemia, Oct 02, 2016, 09:25 AM

Previous topic - Next topic

bohemia

how can i disable commands in world 2

Diego^

function onPlayerCommand( player, cmd, text )
{
if ( player.World == 2 ) return MessagePlayer( "The commands are disabled in this world.", player );
}
BRL's Developer.