Jump to content

threevictor

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by threevictor

  1. INGLÊS What is the name of the feature that makes players visible on the admin panel? Example I want to give money to a player, but for this I must select his name, but the name of the players in the panel is not appearing for me What do I do? PORTUGUÊS Qual é o nome do recurso que torna os jogadores visíveis no painel de administração? Exemplo quero dar dinheiro a um jogador,mas para isso devo selecionar o nome dele,mas não está aparecendo para mim o nome dos players no painel Oque eu faço?
  2. estou com um problema no meu aqui tambem.... não aparece os players exemplo: quero dar dinheiro,mas presiso selecionar o player e não aparece....
  3. It could have a flap in the forum only for Brazilians it's a shame to be using this google translator
  4. PROBLEM: The fim function does not execute the commands that are to give money to the player and destroy the vehicle of the player Mk1 = createMarker (-33.35546875, -279.1201171875, 5.625 -1, "cylinder", 1.1, 255 ,255 ,0, 255) Mk2 = createMarker (-92.0009765625, -307.244140625, 1.4296875 -1,"cylinder",7.5 , 255, 0,0) Mk3 = createMarker (1070.2001953125, 1889.2646484375, 10.8203125 -1,"cylinder", 7.5, 255, 0,0) Mk4 = createMarker (-40.4404296875, -225.564453125, 5.4296875 -1,"cylinder",7.5, 255, 0,0) B1 = createBlipAttachedTo (Mk2, 0 ) B2 = createBlipAttachedTo (Mk3, 41) B3 = createBlipAttachedTo (Mk4, 19) setElementVisibleTo ( B1, root, false ) setElementVisibleTo ( B2, root, false ) setElementVisibleTo ( B3, root, false ) setElementVisibleTo ( Mk2, root, false ) setElementVisibleTo ( Mk3, root, false ) setElementVisibleTo ( Mk4, root, false ) veh = {} function incio (source) if isElementWithinMarker(source, Mk1) then if veh[source] and isElement( veh[source] ) then destroyElement ( veh[source] ) veh[source] = nil end x,y,z = getElementPosition(source) Trabalho = true setElementVisibleTo ( B1, source, true ) setElementVisibleTo ( Mk2, source, true ) outputChatBox ("#00ff00Vá carregar o furgão.",source,0,0,0,true ) end end addEventHandler( "onMarkerHit", Mk1, incio ) function carrega (source) if isElementWithinMarker(source, Mk2) then setElementVisibleTo ( B1, source, false ) setElementVisibleTo ( Mk2, source, false ) outputChatBox("#00ff00Leve a carga do furgão até o local marcado no mapa para descarregar.",source,0,0,0,true) setElementVisibleTo ( Mk3, source, true ) setElementVisibleTo ( B2, source, true ) else end end addEventHandler("onMarkerHit",Mk2 ,carrega) function retorna (source) if isElementWithinMarker(source, Mk3) then outputChatBox ("Agora retorne a empresa com o furgão para receber seu pagamento.",source,0,0,0,true) setElementVisibleTo ( Mk3, source, false ) setElementVisibleTo ( B2, source, false ) setElementVisibleTo ( Mk4, source, true ) setElementVisibleTo ( B3, source, true ) else end end addEventHandler("onMarkerHit",Mk3 ,retorna) function fim (source) -------PROBLEM if veh[source] and isElement(veh[source]) then destroyElement (veh[source]) givePlayerMoney(source,1000) setElementVisibleTo ( B3, source, false ) setElementVisibleTo ( B4, source, false ) else end end addEventHandler("onMarkerHit",Mk4 ,fim) function sair (source) if (veh[source]) and isElement(veh[source]) then setElementVisibleTo ( B1, source, false ) destroyElement (veh[source]) outputChatBox("#00ff00Você saiu do veiculo,desobedeceu as ordems do chefe e foi demitido.", source ,0,0,0,true) else end end addEventHandler ( "onVehicleExit", getRootElement(), sair )
×
×
  • Create New...