Jump to content

Default chat commands?


Stylez

Recommended Posts

Ah, I See that will use this simple function and the command will not work any more :

addEventHandler("onPlayerCommand",root, 
    function ( CMD ) 
        if ( CMD == "me" ) then  
            cancelEvent(); 
                outputConsole("* This Command Are Not Allowed!"); 
            end; 
        end 
    ); 

Thankyou, it is just what i needed :)

Hmm, and what about playernicknames ant their HP bars? How to disable them?

Link to post
Ah, I See that will use this simple function and the command will not work any more :

addEventHandler("onPlayerCommand",root, 
    function ( CMD ) 
        if ( CMD == "me" ) then  
            cancelEvent(); 
                outputConsole("* This Command Are Not Allowed!"); 
            end; 
        end 
    ); 

Thankyou, it is just what i needed :)

Hmm, and what about playernicknames ant their HP bars? How to disable them?

playernicknames = ??

HP = ??

Link to post
Ah, I See that will use this simple function and the command will not work any more :

addEventHandler("onPlayerCommand",root, 
    function ( CMD ) 
        if ( CMD == "me" ) then  
            cancelEvent(); 
                outputConsole("* This Command Are Not Allowed!"); 
            end; 
        end 
    ); 

Thankyou, it is just what i needed :)

Hmm, and what about playernicknames ant their HP bars? How to disable them?

You're Welcome .

Link to post

As i said. I removed absolutely all resources from "resource" folder just left my own made spawn script so i can spawn when i join.. So Without any scripts i can see other players their nicknames and green HP bars. How to disable/remove it?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...