Jump to content

Anti-Logout


CeKiT

Recommended Posts

addEventHandler ( "onPlayerCommand", root, 
    function ( cmd ) 
        if ( cmd == "logout" ) then 
            kickPlayer ( source, nil, "Este comando esta prohibido." ) 
            cancelEvent ( ) 
        end 
    end 
) 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...