Signup Now
Results 1 to 3 of 3
  1. #1
    Free User vgarbim's Avatar
    Join Date
    Oct 2015
    Posts
    24
    Reputation
    10
    Rep Power
    0

    Help with count Waypoint

    Hello Folks,

    I'm creating some scripts for help me to do some achievements, for example the achievement "Waverider". For successful is necessary the character swimming 100.000 sqms.
    I would like if is possible I add one "count" and show in the screen how much SQM I swimming.
    Sorry for the English, some dude can talk with PVT.
    Best Regards bros.

  2. #2
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    Yes, it's possible, create a HUD with that code:
    init start
    setfontstyle("Tahoma", 7, 99, "white", 1)
    setmaskcolorxp(0)
    local posX, posY, posZ = $posx, $posy, $posz
    local count = 0
    init end

    setposition($clientwin.left + 10, $worldwin.bottom - 10)
    if ground($posx, $posy, $posz) ~= ground(posX, posY, posZ) then
    count = count + 1
    posX, posY, posZ = $posx, $posy, $posz
    end
    drawtext("Walked SQMs: "..count)


    Anyway, topic isn't on the correct section, should be here.

  3. #3
    Free User vgarbim's Avatar
    Join Date
    Oct 2015
    Posts
    24
    Reputation
    10
    Rep Power
    0
    Thank you Donatello.

    Very functional! Love you bro <3.

    I'm sorry for the wrong section!

    I rep you <3

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •