Jump to content

[HELP] Show cursor in screen, but...


off

Recommended Posts

Posted

I know how to show the cursor on the screen, but I want also walk. This is not possible?

Sorry for the horrible English.

Posted
showCursor 

toggleControls: A boolean value determining whether to disable controls whilst the cursor is showing. true implies controls are disabled, false implies controls remain enabled.

And even if there was no such argument, there's still a function setControlState which can make you walk.

Posted
showCursor 

toggleControls: A boolean value determining whether to disable controls whilst the cursor is showing. true implies controls are disabled, false implies controls remain enabled.

And even if there was no such argument, there's still a function setControlState which can make you walk.

I love you man! But how do I do that? It does not seem so simple.

Obs: I'm still thrilled with your RPG.

Posted

It's just better to make your own cursor system for that. Really going for ped states and syncing that and then all the cursor stuff, ugh, I wouldn't even bother.

Posted

What CrystalMV posted about toggleControls argument works, but you can't move your camera with the mouse, obviously.

You can still walk, punch and so on.

Posted
What CrystalMV posted about toggleControls argument works, but you can't move your camera with the mouse, obviously.

You can still walk, punch and so on.

Will be enough. Any idea how to do this?

Posted

This should do it for client-side;

showCursor(true, false) 

First boolean is for whether to show or hide the cursor itself. Second boolean is whether you want to enable or disable locked controls while cursor is active.

Posted
How to do what? moving camera with the cursor shown?

No, just wanna walk with the cursor shown.

This should do it for client-side;
showCursor(true, false) 

First boolean is for whether to show or hide the cursor itself. Second boolean is whether you want to enable or disable locked controls while cursor is active.

Thanks, worked. But it has a problem when a window (GUI) is open is no longer possible to walk.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...