wow i feel dumb so this should do it
function rclick_view_init(e)
imgLoc2 = LoadImage("scriptbank\\menu\\cursor.png")
Loc_Sprite2 = CreateSprite ( imgLoc2 )
SetSpritePosition(Loc_Sprite2,-1000,-1000)
end
function rclick_view_main(e)
if g_MouseClick == 1 or g_MouseClick == 0 or g_MouseClick == 3 then
ActivateMouse()
SetSpritePosition ( Loc_Sprite2 , g_MouseX , g_MouseY )
elseif g_MouseClick == 2 then
DeactivateMouse()
end
end
I originally tried to move the camera then got thinking if you are looking then you don't need the cursor so if rightclick = true then deactivate the mouse if click or no click or middle click then mouse active lol hope that works out.
edit-- i figure you know how do sprites for your cursor. But if not change the LoadImage("scriptbank\\menu\\cursor.png") to where your cursor image is or make a folder in scriptbank named menu then save a cursor.png file of what you want your cursor to look like inside the folder lol
Youtube.com/MrEaKing
ELC - Explore, Learn and Create.
Desktop - HomeBuilt- Win 7 - AMD-FX 8300 Eight Core 3.30 Ghz
12 GB RAM
GeForce GTX 1050 Ti 4GB