drhx

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About drhx

  • Rank
    Square

Recent Profile Visitors

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

  1. drhx

    marker bug

    even without these commands it becomes invisible more with the commands and with these commands does not change anything until now I did not realize the error
  2. drhx

    marker bug

    so how would he use it? I did not understand very well, I'm slow. local inimarker = createMarker (2102.8264160156, -1788.5377197266, 12.5546875, "cylinder", 1.5, 255, 0, 0) local marker1 = createMarker (2067.9577636719, -1731.6177978516, 12.87615776062, "cylinder", 1.5, 255, 0, 0, 255, resourceRoot) local inicio = createBlipAttachedTo(inimarker, 42) local blip1 = createBlipAttachedTo( marker1, 41, 2, 255, 0, 0, 255, 0, 16383, resourceRoot ) local vehjob = {} function inicio(player) if getElementType(player) ~= "player" then return end if vehjob[player] and isElement(vehjob[player]) then destroyElement(vehjob[player]) vehjob[player] = nil end vehjob[player] = createVehicle(462, 2107.9953613281, -1781.9140625, 13.388528823853) outputChatBox("#FF0000Você Aceitou O Emprego De Entregador De Pizza!", player, 255,255,255,true) outputChatBox("#FF0000Entregue As Pizzas Nos Locais Marcados Em Seu GPS!", player, 255,255,255,true) outputChatBox("#FF0000Para Cancelar Seu Emprego Digite /cancelar!", player, 255,255,255,true) createPed (297, 2067.1535644531,-1731.5858154297, 14.206628799438, 268.24844360352) warpPedIntoVehicle(player, vehjob[player]) setElementVisibleTo(marker1, player, true) setElementVisibleTo(blip1, player, true) end addEventHandler("onMarkerHit", inimarker, inicio) function inicio2(player) outputChatBox("#FF0000Teste", player, 255,255,255,true,) end addEventHandler("onMarkerHit", marker1, inicio2)
  3. drhx

    marker bug

    inimarker = createMarker (2102.8264160156, -1788.5377197266, 12.5546875, "cylinder", 1.5, 255, 0, 0) marker1 = createMarker (2067.9577636719, -1731.6177978516, 12.87615776062, "cylinder", 1.5, 255, 0, 0) inicio = createBlipAttachedTo(inimarker, 42) blip1 = createBlipAttachedTo(marker1, 41) vehjob = {} function inicio(player) if vehjob[player] and isElement(vehjob[player]) then destroyElement(vehjob[player]) vehjob[player] = nil end vehjob[player] = createVehicle(462, 2107.9953613281, -1781.9140625, 13.388528823853) outputChatBox("#FF0000Você Aceitou O Emprego De Entregador De Pizza!", player, 255,255,255,true) outputChatBox("#FF0000Entregue As Pizzas Nos Locais Marcados Em Seu GPS!", player, 255,255,255,true) outputChatBox("#FF0000Para Cancelar Seu Emprego Digite /cancelar!", player, 255,255,255,true) createPed (297, 2067.1535644531,-1731.5858154297, 14.206628799438, 268.24844360352) warpPedIntoVehicle(player, vehjob[player]) setElementVisibleTo(finblip, player, true) setElementVisibleTo(finmarker, player, true) end addEventHandler("onMarkerHit", inimarker, inicio) I wanted to leave the marker1 invisible until the player passed the "inimarker", after the player passed the "inimarker" the "marker1" would be visible and with function
  4. drhx

    marker bug

    the marker is invisible, but the function is executed even though I'm using setElementVisibleTo, I'm using the meta as "server" I did not find the error yet
  5. drhx

    marker bug

    I recently created a job for my server, pizza delivery, but there is a problem, even if I set the marker as invisible (setElementVisibleTo) it becomes invisible more when I step over it, it performs the function, how do I solve it?
  6. I am doing a roleplay server in mta, and I created several more precise work of a panel to get the works, how to accept the work, but I have no idea how to do this, I have the plugin to create the panels but I do not know how to create for example a button that when I click it performs such a function, and wanted to know where I can find tutorials or something of the genre to learn how to flip the dx panel
  7. drhx

    i need help

    I recently created a roleplay server, and I'm having a lot of trouble creating some scripts (I'm new to the scripting business, I know just the basics) and I'm picking up when I'm doing an inventory, I do not know where to start or finish , could anyone help me create the inventory? I've been able to edit a few other scrits so far, and creating more work apart from creating inventory is very difficult.
  8. galera recentemente eu criei um servidor de roleplay, e estou tendo ,muita dificuldade para criar alguns scripts(sou novo no ramo de fazer scripts sei apenas o basico do basico) e estou apanhando na hora de fazer um inventario não sei por onde começo ou termino, será que alguem poderia me ajudar a criar o inventario? eu consegui até agora editar alguns outros scritps, e criar trabalhos mais a parte de criar o inventario está muito dificil. discord: DrHx#8557