SkatCh Posted January 20, 2015 Posted January 20, 2015 Hi guys it's possibel to stop copy and past like guiMemoSetReadOnly.
..:D&G:.. Posted January 20, 2015 Posted January 20, 2015 addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource( ) ), -- only execute the code when this resource restarts function( ) memo = guiCreateMemo( 0.4, 0.4, 0.2, 0.2, "This is a memo.", true ) -- create a relative memo GUI element guiMemoSetReadOnly( memo, true ) -- make it read only, so players won't be able to edit it in-game end ) You already mentioned the function, dunno why you asking for it
..:D&G:.. Posted January 20, 2015 Posted January 20, 2015 Oh well... Any text that can be highlighted can be copied.. I recommend you use a label: guiCreateLabel
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now