Jump to content

Ivo1313

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Ivo1313

  • Rank
    Vic
  1. Hello! I've been reading this article for hours and i dont get any green lights for my program, your sketch aren't working here too sadly
  2. Hello guys, i'm doing a gunshop script but i dont know how to use triggerClientEvent properly for this situations, i have the client and server program here but they're not working for now: Server marcador = createMarker(296.60345458984,-38.278450012207,1000.515625, "cylinder", 1.1, 0,100,0) setElementInterior(marcador, 1) function showPanel(thePlayer) triggerClientEvent ("Start", thePlayer) end addEventHandler("onMarkerHit", marcador, showPanel) Client function painel (hitPlayer) if ( hitPlayer == localPlayer ) then outputChatBox("aloboizaumm") if painel == fa
  3. Hey, thx, this worked for me
  4. Hello guys, im scripting a menu for buying car fixes, it's working just well but everytime i hit the buy button, the game registers my click as 2+ clicks, what i can do about it? Here is the function: (this one is triggered by a client event) function arrumar(player) if getPlayerMoney(client) >= 1500 then local theVehicle = getPedOccupiedVehicle(client) if theVehicle and getVehicleController (theVehicle) == client then fixVehicle(theVehicle) takePlayerMoney(client, 1500) outputChatBox("Um mecanico arrumou seu carro para você!", client, 0,255,0) else
  5. Oh, thanks for your reply, the program worked now, analysing your file i can see what i did wrong, thank you!
  6. I need some help in my script, im using onClientRender and getScreenFomWorld position but the dxDrawText wont work! heres my program: marker = createMarker(-662.33703613281,2365.9025878906,178.9553527832, "cylinder", 1.5, 0, 100, 100, 200) function Texto() if(getDistanceBetweenPoints3D(0, 0, 4+.5, getElementPosition(getLocalPlayer()))) < 20 then local coords = {getScreenFromWorldPosition(-662.33703613281,2365.9025878906,178.9553527832)} if coords[1] and coords[2] then dxDrawText("CJ", coords[1], coords[2], coords[1], coords[2], tocolor(255,0,0,255), 10, "sans", "center", "cente
×
×
  • Create New...