In-Game Tablet with Web Based CAD/MDT Support

Cool stuff! how should i do to get this to an item trigger? have tried abit but cant seem to figure it out!

regards olssongraphics

From the instructions on the github and in the readme included in the resource:



    "M" key to open the tablet.

    "ESC" to close the tablet and leave it on the page you were on next time it opens.

    The tablet button on the bottom of the tablet will bring you back to the home screen with one click and then click it again to close.

    Hover over an app to see a description of it. Select the app you wish to open.

    To edit the web pages you'll need to find the page you wish to edit (the actual HTML page in the files). I have left templates from my old server in there to help you with ideas and things to add in. For your CAD/MDT make sure you add your address in the iframe correctly on the opencad.html page.

Do anyone know how to connect the tab to an item?

Wrap the function to open the tablet inside of an item check for whatever framework you use:

if playerHasTablet == true then
     if (IsControlJustPressed(0, 244)) and GetLastInputMethod( 0 ) then

    end
else
    sendNotification("You don't own a tablet!")
end

how did you get the cad in i use rocket to but its saying my cookies are not enabled

I was trying to get this cad linked with my current webased cad but the issue im running into is due to our website using discord authentication prior to loading you to the site . It seems that the cad wont load the page due to the discord authentication process is there any way to fix this ?

so i got the animation to work, but i want it to stop when i click the tablet home button due to the way i have mine set up. Can someone help me with getting this to work like that i can’t seem to figure it our.

When I login to my lines police cad it won’t take me to the other page to go on duty, Any way to fix?

same… how??

Whenever I try to open cad, it says that cookies are disabled and wont go to the CAD page, it loads the login page but wont go further, any fix for this?