SkatCh Posted January 20, 2015 Share Posted January 20, 2015 Hi guys it's possibel to stop copy and past like guiMemoSetReadOnly. Link to comment
..:D&G:.. Posted January 20, 2015 Share 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 Link to comment
SkatCh Posted January 20, 2015 Author Share Posted January 20, 2015 They can use CTLR+C . Link to comment
..:D&G:.. Posted January 20, 2015 Share Posted January 20, 2015 Oh well... Any text that can be highlighted can be copied.. I recommend you use a label: guiCreateLabel Link to comment
SkatCh Posted January 20, 2015 Author Share Posted January 20, 2015 maybe anyways thx for your help. Link to comment
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