Jump to content

CapY

Members
  • Posts

    1,647
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by CapY

  1. to eat shit
  2. txt = dxText:create("", 0.8205, 0.2266, true) txt2 = txt:text("Area:\n"..playerZoneName1..", "..playerZoneName ) txt:scale(1.20) txt:font("arial") txt1:postGUI(true)
  3. CapY

    HELP!!!

    Capy just tell how :@ Here: function showClientImage() guiCreateStaticImage( 20, 200, 100, 100, "imagename.png", false ) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), showClientImage ) Get it, you had it on guiCreateStaticImage button. -.-"
  4. Nice one.
  5. I already tried it with setTimer and it didn't worked, text was just messed up.
  6. CapY

    HELP!!!

    If you mean on importing images to the server, use : https://wiki.multitheftauto.com/wiki/Gui ... taticImage and then don't forget to include it in meta. "imagename.png" /> Make sure it's in .png format.
  7. I did it and still nothing.. -.- txt = dxText:create("", 0.8205, 0.2266, true) txt:text("Area:\n"..playerZoneName1..", "..playerZoneName ) Neither this. txt = dxText:create("", 0.8205, 0.2266, true) txt2 = txt:text("Area:\n"..playerZoneName1..", "..playerZoneName )
  8. Then use onClientPlayerWasted -.-
  9. So dxText:create is not like onClientRender ?
  10. Yea, good job solidsnake Always you are right. Well you have to do that server sided and don't use getLocalPlayer() func. or triggerServerEvent, right? triggerClientEvent*
  11. What, i don't get you.
  12. This lib is a bit buggy. function createText1 ( ) local playerX, playerY, playerZ = getElementPosition( getLocalPlayer() ) -- Get player's coordinates. local playerZoneName = getZoneName( playerX, playerY, playerZ, false ) -- Get name of the player's zone. local playerZoneName1 = getZoneName( playerX, playerY, playerZ, true ) -- Get name of the player's zone. txt = dxText:create("Area:\n"..playerZoneName1..", "..playerZoneName, 0.8205, 0.2266, true) txt:scale(1.20) txt:font("arial") txt1:postGUI(true) txt1 = dxText:create("Area:\n"..playerZoneName1..", "..playerZoneName, 0.8205, 0.2266, true) txt1:scale(1.22) txt1:color(0,0,0,255) txt1:font("arial") end It doesn't updates the dxText(txt), while with "dxDrawText" worked perfectly!
  13. Why my PC starts to lagg like a hell when i just write this dxText:create("Area:\n"..playerZoneName1..", "..playerZoneName, 0.7805, 0.2266, true) dxText:scale(1.20) dxText:font("arial") "playerZoneName1" and "playerZoneName" are defined earlier in the code. And this is handled with onClientRender, so what's the problem of that massive lag ?
  14. If you want to hide your vehicle, use setElementAlpha : https://wiki.multitheftauto.com/wiki/SetElementAlpha
  15. Maybe self kills.
  16. No problem.
  17. Try to add initScreen_Label = {} initScreen = {} initScreen_LoginForm_usernameInput = {} initScreen_LoginForm_passwordInput = {} Before welcomeForm function.
  18. CapY

    Wiki

    Neznam sve(niko nije savrsen.), ali znam vecinu...
  19. CapY

    Wiki

    Moj problem nije naucit scriptat(kada vec znam ), moj cilj je samo prevest Wiki(sa nekim/a) za one koji ne razumiju Engleski ni malo.
  20. CapY

    Dobrodosli

    Vidim da bas ne pratite subforum, pa evo vam link : https://forum.multitheftauto.com/viewtop ... 4d14aad005
  21. Client side is yours, but Server side is not.
×
×
  • Create New...