Police MDT for Google docs with UI

Hello!

This is a small script to allow google docs document to be viewed and edited ingame.
You have to keep in mind the following:
Your document must be public with the collaborator function! (the link will not be displayed so all save)
you must exchange in the index.html my link to yours!
To open the menu you must press the N key!

I hope you like it! have fun with it.

TRMD-pd-tab.rar (2.0 KB)

My Tebex

New Version!!! V1.2 with config.lua
pd-tab.zip (2.9 KB)

New Version V1.3 Bug fixes
pd-tab.rar (3.0 KB)

Hello, this is the V1.4 from the Tab.
whats new?

  • Animation
  • Support for esx legacy 1.9.5
    Have a nive day /night
    pd-tab V1.4.zip (3.4 KB)

Hello, this is the Update V1.5
-small Bug fixes

  • the UI are not open anymore when you Join the Server
    pd-tab-V1.5.rar (3.3 KB)
Code is accessible Yes
Subscription-based No
Lines (approximately) 120
Requirements ESX Server
Support Yes
19 Likes

Hi ! great release man,
I think it would be nice to have a menu in which you can choose which document to open, among those listed in the html file.
Donā€™t know if this is hard to do but it would be great to see that !

1 Like

Hello, thanks man!
the script is built so that it can open only one thing. But you can simply copy the script and html replace the link and in the main.lua change your job ā€œpoliceā€ to ā€œambulanceā€ for example

1 Like

Good Work, But can you make this for QBCore pls

1 Like

Hey cool script, can you also use it to call up googlesites pages?

sure! but with no logging

Can you help me how to do that then? :smiley:

1 Like

To your: ā€œthe link will not be displayed so all saveā€

You can open NUI tools to get the link. So its not save at all. ^^

2 Likes

Can You Script it to A Command?

Hey @CSYON WeiƟt du wie man die grĆ¶ĆŸe Ƥndert im Tablet oder @Trascher-TV

itĀ“s soon ; )

in the CSS, HTML can you change the size

i have script a command version

RegisterCommand(ā€˜pcadā€™, function(source, args, rawCommand)
if showUi == false then
if ESX.PlayerData.job.name ~= nil and ESX.PlayerData.job.name == ā€˜policeā€™ then
SetNuiFocus(true, true)
SendNUIMessage({type = ā€œenableā€})
showUi = true;
end
end
end)

RegisterNUICallback(ā€˜NUIFocusOffā€™, function()
if showUi == true then
SetNuiFocus(false, false)
SendNUIMessage({type = ā€œdisableā€})
showUi = false
end
end)

Replace This with

Citizen.CreateThread(function()
Citizen.Wait(1)
while true do
if IsControlJustReleased(0, 306) then --N
if showUi == false then
if ESX.PlayerData.job.name ~= nil and ESX.PlayerData.job.name == ā€˜policeā€™ then
SetNuiFocus(true, true)
SendNUIMessage({type = ā€œenableā€})
showUi = true;
end
end
end
Citizen.Wait(1)
end
end)

RegisterNUICallback(ā€˜NUIFocusOffā€™, function()
if showUi == true then
SetNuiFocus(false, false)
SendNUIMessage({type = ā€œdisableā€})
showUi = false
end
end)

This

es gibt jetzt eine neue Version mit Config wo man alles einstellen kann.

How can I then log into the tablet with google

1 Like

this is awesome. Geiles ding!

1 Like

Wie Kann ich einstellen das ein 2ter job z.b.: Sheriff auch drauf zugreifen kann?

1 Like

Can this be implemented in our own custom scripted MDT?

Hello, great script it is possible to create a system where it must have a specific element to use it?

Iā€™m afraid I donā€™t understand what you mean by that now