^
addEventHandler ( "onPlayerCommand", root, function ( cmd )
if ( cmd == "login" ) then
cancelEvent ( )
outputChatBox ( "You Cant Login", source, 0, 255, 0, false )
elseif ( cmd == "register" ) then
cancelEvent ( )
outputChatBox ( "You Cant Register", source, 0, 255, 0, false )
end
end
)