Jump to content

manawydan

Members
  • Posts

    980
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by manawydan

  1. if you want outdoor object id, you can search in map editor
  2. UV scripted in: https://wiki.multitheftauto.com/wiki/Sh ... ture_names
  3. you can create 2 variables one foreach player, and check if the players exist and still in marker use (onMarkerHit) and(onMarkerLeave)
  4. addCommandHandler giveWeapon outputChatBox
  5. some errors(try change targetPlayer to localPlayer because you dont definity it)
  6. hehe nem percebi(acho q so os moderador q pode apagar)
  7. o problema pode ta no task ou no getControlState. para tentarmos descobrir tentes essas duas formulas, primeiro uma e depois outra. function updateCamera () local weapon = getPedWeapon(getLocalPlayer()) if weapon == 43 and getPedTask(getLocalPlayer(), "secondary", 0) == "TASK_SIMPLE_USE_GUN" then dxDrawImage(0, 0, 300, 300, "binoculars.png") end addEventHandler ( "onClientRender", root, updateCamera ) function updateCamera () local weapon = getPedWeapon(getLocalPlayer()) if weapon == 43 and (getControlState("aim_weapon")) then dxDrawImage(0, 0, 300, 300, "binoculars.png") end addEventHandler ( "onClientRender", root, updateCamera ) obs: o meta.xml ta ok?
  8. vc ta usando onClientRender? algo no debug?
  9. lo sé, era un ejemplo trigger puede resolver
  10. no probado local startTick = nil local endTick = nil local duration = 1000 function MyTesteFunction() startTick = getTickCount() endTick = startTick+duration addEventHandler("onClientRender",onRender) end function onRender() if(getTickCount()-endTick>=duration)then -- do something outputChatBox("time elapsed") -- reset to go again endTick = getTickCount()+duration end end
  11. o sistema de level é mais facil fazer, ja os jobs dependem da magnitude de cada um
  12. não sei se ajuda, mas talvez vc possa usar o evento "onClientCharacter" ou um label
  13. setElementPosition setElementVelocity addCommandHandler moveObject
  14. creio que vc devera cria um evento e mandar um trigger para mandar o som pra todos os players
  15. you can use youtube tag:
  16. SetTimer? try setTimer
×
×
  • Create New...