SkatCh Posted January 20, 2015 Posted January 20, 2015 Hi guys it's possibel to stop copy and past like guiMemoSetReadOnly. Failure is simply an opportunity to begin again more intelligently - Henry Ford
..: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 MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
SkatCh Posted January 20, 2015 Author Posted January 20, 2015 They can use CTLR+C . Failure is simply an opportunity to begin again more intelligently - Henry Ford
..: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 MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
SkatCh Posted January 20, 2015 Author Posted January 20, 2015 maybe anyways thx for your help. Failure is simply an opportunity to begin again more intelligently - Henry Ford
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