Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. What Event starts this function ?
  2. There is no 'arrest' element .. you have to script one. or just download one from the community site.
  3. Karuzo

    '-'

    Ye , you're right.
  4. Oh , you mean the dx drawing's on f11 ? if yes : just use dxDrawText to draw that text's and bindKey to show it when they press F11.
  5. Karuzo

    '-'

    I don't think that's what he asked for, i think he just didn't know what this z + 10 means.
  6. Ah , ok . but if i have created a button , in my other client script , can i trigger it or something like that ? 'cause i don't want to create those buttons again.
  7. I can't understand you , sorry. Could you be more specific ?
  8. Karuzo

    '-'

    That the car spawns 10 units above him. you could use (x+ 5,y,z) that means that the car spawns 5 units near him and not above him.
  9. Do you even know what he tells you ? You just created the GUI and the Job marker. But there's no FBI Arrest System or something like that . We don't script for you. If you have a script with errors we could help you.
  10. Hey Guys, so i'm making a phone script and wanted to add a function which enables a shader on a button click. I wanted to add the HDR Contrast and the Bloom effect. Thx for your time.
  11. Karuzo

    '-'

    wiki example. function scriptCreateInf ( commandName ) local luckyBugger = getLocalPlayer() -- get the local player local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position createVehicle ( 411, x, y, z + 10 ) -- create the tank 10 units above them outputChatBox ( "You got a Infernus!!", 255, 0, 0) end --Attach the 'scriptCreateTank' function to the "infernus" command addCommandHandler ( "infernus", scriptCreateInf )
  12. lol, you did it wrong also ? make it : addEventHandler("onClientMarkerHit",
  13. With dxDrawText or you can make several images , so you show them every second.
  14. I can't make you the full code 'cause i don't know what OpenWind or outputTopChat is.
  15. Where is the Event "OpenWind" and "outputTopChat" ? Try "cylinder" instead of 'cylinder', the blip icon is an optional argument so you have to use all optional arguments in createBlip.
  16. What doesn't work ?
  17. Karuzo

    Question

    Ye as xXMADEXx said, You could just create a marker and set its alpha to 0.
  18. Karuzo

    Question

    Just one click ... https://wiki.multitheftauto.com/wiki/OnPlayerPickupHit
  19. WDT and WFT files are for GTA IV . I think you can convert them , but i don't know how.
  20. Just like bonsai said , you could make an button over you rectangel , set its alpha to 0 so you cant see it , and just handle it like a normal button. button = guiCreateButton(x,y,w,h, "button", false) guiSetAlpha(button, 0) dxDrawRectangle(x,y,w,h) function buttonclick() --your code end addEventHandler("onClientGUIClick", button , buttonclick)
  21. Sure, Client: http://pastebin.com/j2JGBGnU Server: http://pastebin.com/HbfpbKbC
  22. Not really, i just don't know how i should replace getPlayerName with the ElementDatas.. I just uploaded the script so you can understand me better. Client: http://pastebin.com/bRkCJYzM Server: http://pastebin.com/qH4YKARS
×
×
  • Create New...