Jump to content

MKZ213

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MKZ213's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Carro = {} function Pegar_Carro (source) if getElementData ( source, "DNL:Entregar_Cargas" ) == true then if isElement(Carro[source]) then destroyElement(Carro[source]) end Carro[source] = createVehicle(413, 777.72870, -1337.64941, 13.53258) setElementRotation(Carro[source], 0,0,0) setElementInterior(Carro[source], 0) setElementDimension(Carro[source], 0) warpPedIntoVehicle ( source, Carro[source] ) setElementInterior(source, 0) setElementDimension(source, 0) triggerClientEvent(source, "DNL:Fechar_Correios", source) triggerClientEvent(source, "addBox", root, "INFO : Digite /entregarcaixas para começar a entregar as encomendas", "info") else triggerClientEvent(source, "addBox", root, "INFO : Você deve pegar encomendas para que pegue a van da empresa", "info") end end addEvent("DNL:Pegar_Carro", true) addEventHandler("DNL:Pegar_Carro", root, Pegar_Carro)
  2. eu queria fazer com que quando o player saia do carro de sedex ele tenha 10 segundos para voltar senao o carro despawnaria entao poderia me ajudar com isso
  3. mais eu nao sei fazer isso, voce tem alguma dica pra me dar
  4. o script que eu fiz meta <meta> <info author="SkyCloud" description="Script feito por SkyCloud" version="0.0.1" type="script" /> <script src="dashscript.lua" type="client"/> <file src="fonts/montserrat-bold.ttf"/> </meta> dashscript local screenW, screenH = guiGetScreenSize() local abrirem = true local Font0001 = dxCreateFont ("fonts/montserrat-bold.ttf", 10) function renderdashboard() local playerName = getPlayerName(getLocalPlayer()) local id = getElementData(localPlayer, "ID") or "Sem ID" local lvl = getElementData(localPlayer,"Level") or "Sem Level" local emprego = getElementData (localPlayer,"Emprego") or "Desempregado" local bancol = getElementData(localPlayer, "banco") or 0 local maxplayer = 32 dxDrawRectangle(screenW * 0.8172, screenH * 0.2847, screenW * 0.1609, screenH * 0.3083, tocolor(26, 26, 26, 201), false) dxDrawRectangle(screenW * 0.8211, screenH * 0.4625, screenW * 0.1570, screenH * 0.0181, tocolor(11, 11, 11, 201), false) dxDrawRectangle(screenW * 0.8211, screenH * 0.4000, screenW * 0.1570, screenH * 0.0181, tocolor(11, 11, 11, 201), false) dxDrawRectangle(screenW * 0.8211, screenH * 0.3556, screenW * 0.1570, screenH * 0.0181, tocolor(11, 11, 11, 201), false) dxDrawRectangle(screenW * 0.8172, screenH * 0.2847, screenW * 0.1609, screenH * 0.0458, tocolor(0, 0, 0, 201), false) dxDrawText("Informações Pessoais", screenW * 1066, screenH * 210, screenW * 1235, screenH * 233, tocolor(255, 255, 255, 255), 0.70, "pricedown", "left", "top", false, false, false, false, false) dxDrawText("Nome:", screenW * 0.8227, screenH * 0.3528, screenW * 0.8508, screenH * 0.3736, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText(playerName, screenW * 0.8586, screenH * 0.3528, screenW * 0.9781, screenH * 0.3736, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText("ID:", screenW * 0.8227, screenH * 0.4000, screenW * 0.8352, screenH * 0.4208, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText(id, screenW * 0.8430, screenH * 0.4000, screenW * 0.8758, screenH * 0.4208, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText("Level:", screenW * 0.8930, screenH * 0.4000, screenW * 0.9211, screenH * 0.4208, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText(lvl, screenW * 0.9258, screenH * 0.4000, screenW * 0.9586, screenH * 0.4208, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText("Trabalho:", screenW * 0.8211, screenH * 0.4597, screenW * 0.8602, screenH * 0.4819, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText(emprego, screenW * 0.8758, screenH * 0.4597, screenW * 0.9586, screenH * 0.4806, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawRectangle(screenW * 0.8211, screenH * 0.5153, screenW * 0.1570, screenH * 0.0181, tocolor(11, 11, 11, 201), false) dxDrawText("Banco", screenW * 0.8211, screenH * 0.5139, screenW * 0.8523, screenH * 0.5319, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText(bancol, screenW * 0.8719, screenH * 0.5139, screenW * 0.9703, screenH * 0.5319, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText("R$:", screenW * 0.8523, screenH * 0.5139, screenW * 0.8695, screenH * 0.5333, tocolor(255, 255, 255, 255), 1.00, Font0001, "left", "top", false, false, false, false, false) dxDrawText("Online:", screenW * 0.8523, screenH * 0.5528, screenW * 0.8984, screenH * 0.5792, tocolor(255, 255, 255, 255), 1.50, "default", "left", "top", false, false, false, false, false) dxDrawText(#getElementsByType("player").."/"..maxplayer, screenW * 0.9016, screenH * 0.5528, screenW * 0.9477, screenH * 0.5792, tocolor(255, 255, 255, 255), 1.50, "default", "left", "top", false, false, false, false, false) end function abrir() if abrirem == false then removeEventHandler("onClientRender", getRootElement(), renderdashboard) abrirem = true else addEventHandler("onClientRender", getRootElement(), renderdashboard) abrirem = false end end bindKey( "tab", "both", abrir)
  5. eu criei meu hud so que a hud fica bugada quando eu saio da resoluçao 1280x720 porque quando eu vou pra resoluçao 640x480 a hud fica toda fora do lugar OBS:eu queria que a hud funciona-se em todas as resoluçoes em 1280x720 em 640x480
×
×
  • Create New...