Jump to content

stevensalvaro

Members
  • Posts

    135
  • Joined

  • Last visited

Everything posted by stevensalvaro

  1. bump
  2. Hello, I just make status info for player , and it's using button on the top right of screen , 1x click status info show up , but if i click again before close this status info , why it's open another status info , so i got twice... ? How to make the status info can't opened again if another status info is open ? Thanks before ..
  3. Okay
  4. Okay thank you
  5. Hmm , btw dxDrawText for what ? Marker Text ?
  6. btw how to use getDIstanceBetweenPoints2D on ped ?
  7. Hello, How to make if player near Ped A then when player press 'F" , the GUI show up ? What function i need ?
  8. Here is my ped script local localPlayer = getLocalPlayer() local atmPed = createPed( 113, 1699.234375, -1723.7509765625, 13.546875 ) setPedRotation( atmPed, 90 ) setElementDimension( atmPed, 0) setElementInterior( atmPed , 0 ) setElementData( atmPed, "talk", 1, false ) setElementData( atmPed, "name", "John Travis", false ) setPedAnimation ( atmPed, "INT_OFFICE", "OFF_Sit_Bored_Loop", -1, true, false, false ) setElementFrozen(atmPed, true)
  9. Hello, I just try to make ped and some gui ... But when i right click on the ped , why it's say " Error:Unknown Ped" How can i fix this problem ?
  10. hmm you can use localPlayer
  11. ah nice , thanks for your tips
  12. May i must to make OnClientPickupLeave function to destroy the box ?
  13. Hello, How to make my 'guiCreateStaticImage' disappear when i leave the pickup ? Server function carshop_pickupUse(thePlayer) local parentCar = getElementData(source, "carshop:parentCar") if parentCar and isElement(parentCar) then local costCar = getElementData(parentCar, "carshop:cost") local costTax = getElementData(parentCar, "carshop:taxcost") if costCar and costTax then triggerClientEvent(thePlayer, "carshop:showInfo", parentCar, costCar, costTax) end cancelEvent() end end addEventHandler("onPickupHit", getResourceRootElement(), carshop_pickupUse) Client function carshop_showInfo(carPrice, taxPrice) box = guiCreateStaticImage(120, 350, 150, 50, "mulai.png" , false, nil) end addEvent("carshop:showInfo", true) addEventHandler("carshop:showInfo", getRootElement(), carshop_showInfo)
  14. it's only visible when the time is night , same as default resources , i cant mapping this , any solution for this ? i think this isn't object id because it's not visible on morning until afternoon , only visible at the night
  15. in game i can see this windows , but in map editor it's clear
  16. It is possible to remove this windows object from maps ? Before Deleted : After Deleting This Building : I can't click that windows , so i can't delete it ... Please Help me
  17. hmm , on option 1 , i must to find the model id right ? btw it's very hard to find from thousand of object haha
  18. leave it blank bro
  19. You're lucky man just deleting original map , i got big problem with my mapping , so dont use flowers on your map
  20. Here you can find more object id http://gamerxserver.com/forum/showthread.php?21-Objects-by-Category
  21. how you do that ?
  22. It is possible to remove this windows object from maps ? Before Deleted : After Deleting This Building : I can't click that windows , so i can't delete it ... Please Help me
  23. Thank you very much man , Very Helpfull
×
×
  • Create New...