Jump to content

#Paper

Members
  • Posts

    568
  • Joined

  • Last visited

Everything posted by #Paper

  1. #Paper

    progress

    The progressbar doesn't increment function createProgressBar(player, time) local x, y = guiGetScreenSize() local toAdd = 100/time progress = guiCreateProgressBar(x/2, y/3, 300, 30, false) setTimer(function () local prog = guiProgressBarGetProgress(progress) if prog <= 99 then guiProgressBarSetProgress(progress, math.floor(tonumber(prog + toAdd))) elseif prog >= 100 then destroyElement(progress) end end, 1000, time/1000) end or insted to make how i made it, how can i make the bar increment smootly proportional the time? P.S: Time value is 8000
  2. Shut up noob, don't let me talk about you ok? -.-"
  3. No problem! It's my duty! ^^
  4. Sorry, GameR/*kRII/K2XStyle, it was my errror Edit: Thanks to K2XStyle i have a cool picture! ^^ So just fuck -DTR- ^^ they hacker our server because they wont competition and because we beaten they 12:8 in a CW NICE ONE kD: NICE ONE BRO! <3 YOU ARE RLY FAIR! ^^ They will censure my topic on -DTR- Forums: Click here ^^ If they do here is a screenshot ^^
  5. I want to make a ranking... So @ the 1° place tha player who have more cash than all etc etc, btw i have another question: table.sort function what does?
  6. thanks but i need to get some datas from that account, i have already an idea, but then how can i put the table in ascending order?
  7. I want to make a ranking in a gridList but i need to take the data from the table returned by getAccounts() Any example?
  8. Is there a way to use getAccountData() in Client Side?
  9. Cracked... cracked... and again cracked, oh i forgot fixxed ^^
  10. #Paper

    Folder ^^

    i want make a command for delete maps in game
  11. #Paper

    Folder ^^

    Is there any function for delte whole resource's folder?
  12. #Paper

    Killscript

    Omg, ye i got confused whit race mode Sry LoL
  13. #Paper

    Killscript

    isn't the /kill command integrated in MTA?
  14. i tryed too whit debugstrings beetween "if account then" and "if not isGuestAccount(account) then" but doesn't appear Btw it's triggered from "race_toptimes/toptimes_server.lua"
  15. i tryed too, but it says bad argument @ line 2
  16. Does not show any error but doesn't set the data: function onTopTime (player,newPos,newTime,oldPos,oldTime,random1,random2) if isGuestAccount(getPlayerAccount(source)) == false then if newPos <= 10 then addStat(getPlayerAccount(source), "Top Times", 1) end end end addEvent("onPlayerToptimeImprovement",true) addEventHandler("onPlayerToptimeImprovement",getRootElement(), onTopTime)
  17. #Paper

    Learning LUA

    I started learning lua modifying the race_starter_pack, i started to modify the strings: label names, outputchatboxs and etc, then i read the wiki and i started to make my own scripts
  18. I solved the 1° problem whit TeamViewer but now doesn't load the libmysql.dll "Unable to load..."
  19. maybe cuz the mysql and pool and global resources are not running? And, put the correct name of modules in mtaserver.conf...
  20. #Paper

    need help

    /debugscript 3 and show us what errors it gives
×
×
  • Create New...