Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Mohamed Boubekri on Aug 16, 2023, 04:02 PM

Title: Freeze the mouse
Post by: Mohamed Boubekri on Aug 16, 2023, 04:02 PM
Hey everyone, i'm wondering if i can freeze the mouse instead of hiding it ? GUI.SetMouseEnabled(false);
Because, if we don't freeze it, the player can show the mouse again by clicking Alt Gr. Then the player can
cause errors in the console, for example if he click a button again & again.
Title: Re: Freeze the mouse
Post by: Mohamed Boubekri on Aug 16, 2023, 07:24 PM
Okey, thank you for your reply.