Jump to content

CaptainZ.

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by CaptainZ.

  1. You can't do it via script.
  2. CaptainZ.

    Question

    The current one works for me
  3. CaptainZ.

    Question

    Thank you Dealman, I used onVehicleExplode. I did it like this function destroyBlip() destroyElement(blip) end addEventHandler("onVehicleExplode", vehicleC, onvehblow)
  4. CaptainZ.

    Question

    How can I get if vehicle is destroyed?
  5. I suggest you www.gta-servers.net
  6. CaptainZ.

    Question

    Thank you very much!
  7. CaptainZ.

    Question

    Hey, does anyone know some calculation so everyone will have same but in different resolution as I do?
  8. Download progress is too slow
  9. CaptainZ.

    Pitanje

    Onda moze sa getElementData, valjda.
  10. We can't do anything without the code
  11. CaptainZ.

    text

    addEventHandler("onClientResourceStart", resourceRoot, function() end ) addEventHandler("onClientRender", root, function() dxDrawText("ur text", 516, 10, 878, 43, tocolor(100, 196, 53, 255), 1, "font", "left", "top", false, false, true, false, false) end )
  12. Money getPlayerMoney outputChatBox Ping getPlayerPing outputChatBox About money -You asked for example ; https://wiki.multitheftauto.com/wiki/GetPlayerMoney this is something very similiar
  13. I don't get it dxDrawImage ? Please speak English atleast bit better
  14. Are you sure about the positions of text? For me, it works perfectly
  15. Yes, copypaste it if you want more texts (put them below)
  16. Just use my code and change position...
  17. sx,sy = guiGetScreenSize() textsToDraw = {} maxrange = 20 function NPCnametag() end addEventHandler("onClientRender",root, function() for a,b in pairs(textsToDraw) do x,y,z = b[1],b[2],b[3] scx,scy = getScreenFromWorldPosition (x,y,z) camX,camY,camZ = getCameraMatrix() if scx and scy and getDistanceBetweenPoints3D(camX,camY,camZ,x,y,z+5) <= maxrange then dxDrawFramedText(b[4],scx-0.5*dxGetTextWidth(b[4],0.30,"pricedown"),scy+30-0.5*dxGetFontHeight(0.30,"pricedown"),sx, sy+5,tocolor ( b[5], b[6], b[7], 255 ), 0.80,"pricedown") end end end ) function add3DText(x,y,z,text,r,g,b) table.insert(textsToDraw,{x,y,z,text,r,g,b}) end function dxDrawFramedText ( message , left , top , width , height , color , scale , font , alignX , alignY , clip , wordBreak , postGUI , frameColor ) color = color or tocolor ( 255 , 255 , 255 , 255 ) frameColor = frameColor or tocolor ( 0 , 0 , 0 , 255 ) scale = scale or 1 alignX = alignX or "left" alignY = alignY or "top" clip = clip or false wordBreak = wordBreak or false postGUI = postGUI or false dxDrawText ( message , left + 1 , top + 1 , width + 1 , height + 1 , frameColor , scale , 5 , alignX , alignY , clip , wordBreak , postGUI ) dxDrawText ( message , left + 1 , top - 1 , width + 1 , height - 1 , frameColor , scale , 5 , alignX , alignY , clip , wordBreak , postGUI ) dxDrawText ( message , left - 1 , top + 1 , width - 1 , height + 1 , frameColor , scale , 5 , alignX , alignY , clip , wordBreak , postGUI ) dxDrawText ( message , left - 1 , top - 1 , width - 1 , height - 1 , frameColor , scale , 5 , alignX , alignY , clip , wordBreak , postGUI ) dxDrawText ( message , left , top , width , height , color , scale , font , alignX , alignY , clip , wordBreak , postGUI ) end add3DText( 1177.9,-1328.4,15.3, "Test", 6, 183, 248 )
  18. setAccountData onPlayerLogout and getAccountData then setElementData onPlayerLogin
  19. CaptainZ.

    Pitanje

    Pa zavisi kako si napravio skriptu, kako ti 'sistem' radi.
  20. createBlip ID 5 blip createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, int ordering=0, float visibleDistance ] ) "visibleDistance"
  21. Are you going to pay?
  22. Site is not special at all, anybody can use wix.com and desing easily, scripts seem pretty nice.
  23. CaptainZ.

    HELP ME ;(

    SAES is too boring. So I suggest you to join CIT.
×
×
  • Create New...