Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. karlis

    gui???

    then act like one who want help, AND NO NEED FOR HELP TOPIC WITCH IS MADE FROM CONTENTS OF ANOTHER HELP TOPIC
  2. yep would be cool, if you want, you can use carcolor picker by me: https://community.multitheftauto.com/index.php?p= ... ils&id=621 (yep it might need some bugfix/optimization, witch ill prpably make soon)
  3. not bad, but its too small( i hope yet) to call it classes, add same for wantedlevel, gametime, etc.
  4. karlis

    need help

    o yeah? https://community.multitheftauto.com/index.php?p= ... includes=1 pwnt
  5. karlis

    need help

    cookie no you didnt make anything, you ripped it off wiki...
  6. hi, im trying to make race addon, and i need to manage positions and finished/unfinished states in race wiki didnt really help me will setElementData(player,"Race rank",myrank) work, or not? if not are there some other ways to do it?
  7. pretty ncie, how abotu custom plate textbox? and use get() for disalowed vehicles, else client need redownload script on server change if other server have script with modificed disallowed vehicles table running
  8. karlis

    gui???

    he are allowed to copy them, BUT THATS SPAM to make topic about contents of other topic /voteban COOKIE2
  9. https://community.multitheftauto.com/index.php?p= ... ils&id=614
  10. oh ok, sorry, lock/remove pelase, forgot that -x is an standalone operator too, not just addon for number
  11. try it i know it should, but its not.or my processor have a cancer? [2010-04-22 17:58:54] Console executed command: -2^2 [2010-04-22 17:58:54] Command results: -4 [number]
  12. we need a file streamer!is that theoretically possible now with some serverside loads and some sending?
  13. addCommandHandler("move",function(_,_,mapname,x,y,z) local ticks = getTickCount() local map = xmlLoadFile(mapname..".map") local file = xmlCopyFile(map,mapname.."_Moved.map") xmlUnloadFile(map) local nodes = xmlNodeGetChildren(file) for k,v in ipairs (nodes) do xmlNodeSetAttribute(v,"posX",xmlNodeGetAttribute(v,"posX")+x) xmlNodeSetAttribute(v,"posY",xmlNodeGetAttribute(v,"posY")+y) xmlNodeSetAttribute(v,"posZ",xmlNodeGetAttribute(v,"posZ")+z) end xmlSaveFile(file) xmlUnloadFile(file) print("MapMove: Moving \""..mapname..".map\" done in "..getTickCount()-ticks.." miliseconds with "..#nodes.." elements !") end) things that are fine: -file, nodes, and map is proper elements/tables -loop is entered -output is fine and with proper values, like it should be -no errors now the problem: map is not saving, adding it manually before didnt help, too.
  14. soz for offtopic, but /voteban COOKIE lil ontopic:there were topic like this some tiem before too, search it
  15. i think thats definetly not prior thing, buts it is still nice feature to have, simple example:some rpg dragrace, start on green light about radio:defliently some function for get/set pos of radio, because sync itself woudl eb anoyiong
  16. how about "eventname":event( function, attachedto, downtree, bool addEvent() or not , bool 2nd arg in addEvent() ) attachedto would be optional too, with root as default
  17. you need give acl admin rights to acl, find how to in wiki
  18. karlis

    garage doors

    open=false door=getElementById("id here") addCommandHandler("opendoor",function() if open then moveObject(door,time,x,y,z) else moveObject(door,time,x,y,z) end open=not open end) i hope you got that "id here", x,y,z, and time should be adjusted to your values
  19. yes, i did learn from resources like freeroam, hay, etc too, but many things i also got by watching from clientside scripts
  20. didnt see it ever, just add one dummyobj before saving, then delete it in .map file
  21. use triggerServerEvent()
  22. karlis

    Help

    sorry, but noone will send you 700mb big file, i saw 1 tought on google, but i dont recommend to trust such sites where you got backups
×
×
  • Create New...