Jump to content

Gongas

Members
  • Posts

    15
  • Joined

  • Last visited

Gongas's Achievements

Square

Square (6/54)

0

Reputation

  1. Gongas

    Need help

    you know how to do it?.. to help..
  2. Gongas

    Need help

    steal? i dont wanna steal -.- my clan have a script and i just want edit the color omg
  3. Gongas

    Need help

    How i can decompile .lua files to can open it whit notepad? i tryed to open 1 and i get some strange characters
  4. and how i can make? could you help? i am new on this and i need this script
  5. ye.. but since i am trying to learn and idk how to combine it in a skin only to admins, but i have the 2 scripts
  6. can give me a full code ? whit superman and god mode already maked to that skin and comand "/duty"?
  7. Can someone give me help how too put GodMode and superman scripts only for admins and make like a command "/duty" to activate both same time but only in 1 script?
  8. Worked thx since i am new on scripting i want learn to be good 1 day
  9. Debugscript says: Error: attempt to call globa 'guiGetScreenSize' ( a nil value) and the script i just maked this to meta : "WoRMs" description="3D Text" version="1.0" type="script" />
  10. Are you sure about the positions of text? For me, it works perfectly yea i am sure and it still not working idk why.. 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( -1624.6945800781,666.45471191406,8.1875, "Police", 6, 183, 248 ) Whats wrong on this?
  11. well i maked that but the text isnt in ped head , what i make?
  12. "add3DText( 1177.9,-1328.4,15.3, "Test", 6, 183, 248 )" of this?
  13. i taked the script then i edited "textsToDraw" but the script dont maked the Text what i have to put more? and sorry for the double posting i am realy annoying whit this script help plz
  14. How i can put names in PED head? for example "Mechanic", can someone tell me how i can do it?
  15. Hello guys , i need some help to create a "JobSystem" since i am learning to script and i maked some scripts i wanna make a hard one , a "JobSystem" too allow we take jobs in RPG servers, can u help me plz guys? saying from where i can start?
×
×
  • Create New...