Jump to content

stevensalvaro

Members
  • Posts

    135
  • Joined

  • Last visited

Everything posted by stevensalvaro

  1. 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 ..
  2. Hmm , btw dxDrawText for what ? Marker Text ?
  3. btw how to use getDIstanceBetweenPoints2D on ped ?
  4. Hello, How to make if player near Ped A then when player press 'F" , the GUI show up ? What function i need ?
  5. 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)
  6. 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 ?
  7. May i must to make OnClientPickupLeave function to destroy the box ?
  8. 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)
  9. 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
  10. in game i can see this windows , but in map editor it's clear
  11. 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
  12. hmm , on option 1 , i must to find the model id right ? btw it's very hard to find from thousand of object haha
  13. You're lucky man just deleting original map , i got big problem with my mapping , so dont use flowers on your map
  14. Here you can find more object id http://gamerxserver.com/forum/showthread.php?21-Objects-by-Category
  15. 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
×
×
  • Create New...