Jump to content

Simple0x47

Members
  • Posts

    1,518
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Simple0x47

  1. Simple0x47

    help

    Try this. local Width, Height = guiGetScreenSize() local webBrowser = createBrowser(Width, Height, false, false) addCommandHandler("youtube", function() loadBrowserURL(webBrowser, "https://www.youtube.com/watch?v=kdemFfbS5H0") addEventHandler("onClientRender", root, function() -- Update texture data updateBrowser(webBrowser) -- We can simply draw the webbrowser now since it is a standard DirectX texture local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end ) end )
  2. Can you explain better what's the problem?
  3. Ok i don't understand, i can't make a table with the encryptation, because Paradise has got a Hashkey that is produced randomly. I think that i will take the second option.
  4. You can specify the zones ,set what players for each zone, start up the script manually/automatically when the players enters into the zone and if he leave's the zone the script stop's.
  5. From youtube...i don't think soo, but from .mp3 links you can play them without any problem. And there are a lot of scripts that allow you to make that.
  6. You can try to make a MYSQL-Table that saves the lastlogin of a player and then make a script that substracts the actual date with the last login of the player. Or just find on community a script like what are you looking for.
  7. As the title say, i have a question about Paradise encryptation system.I'm working at a UPC for MTA:Paradise, but i don't know how to use the Paradise encryptation on the UPC. I know that servertoken.xml makes the encryptation randomly. But how can i use the same encryptation for connect and register at the UPC and login then in the game?
  8. You can use this. rootElement = getRootElement() function vandalismveh (player, vehicle) local x, y, z = getElementPosition ( player ) local xv, yv, zv = getElementPosition ( vehicle ) if getDistanceBetweenPoints3D ( x, y, z, xv, yv, zv ) == 1 then setPlayerWantedLevel ( player, 1 ) end addEventHandler( "OnClientPlayerWeaponFire", rootElement, vandalismveh )
  9. Thanks for the help. I thing there's no answer for this.
  10. It doesn't function, everytime i try to put a dxdraw it doesn't appear or a gui. It's maybe because the MTA Paradise produces an error or something?
  11. Hello i'm working at a roleplay test, and there's a problem, that the gui and the dxdraw doesn't appear on the screen. I don't know whats happening, help me please. Here the code: function greetingHandler ( ) Panel = guiCreateWindow(395, 345, 504, 574, "Desert Valley RP", true) guiWindowSetSizable(Panel, false) guiSetAlpha(Panel, 100) Todoloquesevaaenviar = guiCreateMemo(362, 399, 562, 414, "", true, Panel) Enviar = guiCreateButton(371, 857, 553, 40, "Enviar", true, Panel) guiSetProperty(Enviar, "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick", Enviar, EnviarGM) guiSetInputMode("no_binds_when_editing") nombre = getCharactherName ("localPlayer") preguntas = {"Pregunta ID1 - Explica los conceptos: RK-PK-CK-DM-PG-MG-CJ y ¿qué harias si alguien te apuntaría a la cabeza con un arma en medio de la calle?, Pregunta ID2""} dxDrawRectangle(323, 107, 636, 842, tocolor(0, 0, 0, 255), true) dxDrawText("Cuestionario de Roleplay", 347, 107, 934, 220, tocolor(255, 255, 255, 255), 2.00, "pricedown", "center", "center", true, true, true, false, false) dxDrawRectangle(352, 286, 582, 632, tocolor(242, 230, 38, 255), true) dxDrawText(..preguntas[rand], 362, 303, 920, 377, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, false, false) dxDrawText("*Menciona la ID de la Pregunta que te ha tocado. Ejemplo: Pregunta ID-1.", 364, 821, 924, 842, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", true, true, true, false, false) dxDrawText("Nombre y Apellidos:", 347, 230, 467, 265, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", true, true, true, false, false) dxDrawText(..nombre, 472, 230, 652, 265, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "center", true, true, true, false, false) end addEvent( "onTestFailed", true ) addEventHandler( "onTestFailed", getLocalPlayer(), greetingHandler ) addEventHandler("onClientRender", getRootElement(), greetingHandler )
×
×
  • Create New...