Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: bohemia on Oct 02, 2016, 09:25 AM

Title: disable commands in world 2
Post by: bohemia on Oct 02, 2016, 09:25 AM
how can i disable commands in world 2
Title: Re: disable commands in world 2
Post by: Diego^ on Oct 02, 2016, 09:45 AM
function onPlayerCommand( player, cmd, text )
{
if ( player.World == 2 ) return MessagePlayer( "The commands are disabled in this world.", player );
}
Title: Re: disable commands in world 2
Post by: bohemia on Oct 04, 2016, 11:45 AM
Thanks 8) 8)