Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. karlis

    Problem...

    source is not defined outside the function, put it inside.(be sure to put the setPlayerTeam back to normal before testing) also i think you should remove the "else" and put the output for the login after the "if then elseif then end" block.
  2. yes, use seatid 0 for driver, 1-3 for passengers
  3. its getPedOccupiedVehicle() not GetPlayerOccupiedVehicle() as you see, 2 errors, ped, not player, and caps at 1st letter also use tags, if you would use them, you would find the error yourself.
  4. first, i think you should define the seat the ped need to be warped into, so they don't stack.
  5. karlis

    Problem...

    no, i meant to add some random letter to the setPlayerTeam ( for instance "setPlayerTeam1"), so the code isn't broken and we can help you fix it.
  6. go to your server resource folder, open votemanager, and open meta.xml then replace line40 with " "
  7. karlis

    Problem...

    replace 1 of the letters for all the setPlayerTeam, for demonstration purposes only.
  8. ill try. but how you think, 0.3 size of icon=space size is enough?(in current pic theres no space at all)
  9. k ill add a variable which defines space, i made it tiny so it fits in chatbox gap. and thnx for the pic
  10. karlis

    Race Stats

    just put all the code, will be easier for both helpers and you, and will save misleadings.
  11. i just logically found out the expression when i needed it.
  12. another progress update! made a gtaIV like radio hud (thanks to Aibo again for the icons) i know, the radio text under it sucks, but from 1.1 onwards it'll get removed. features: fading out after some time sides are faded more then center animated movement back/forwards triggered to show only when radio changes or vehicle is entered EDIT:lol sorry for crappy pic cut, MS paint sux so much, and found this out too late, now lazy to change it.
  13. you could import custom object with collision shape of car, make car uncollidable for players and other vehicles only(!), and attach that object to car. make sure you reattach it onClientElementStreamIn tough.
  14. _G will return nil if its not in the same resource use addEvent("onGamemodeMapStart",false) addEventHandler("onGamemodeMapStart",defineyourgamemodehere,function() --do what you want end) and is function getAll defined? also make sure mapmanager is on
  15. karlis

    Problems

    -.- you take scripts from wiki and other ppl and claim them as own, but cant watch gui functions? https://wiki.multitheftauto.com/wiki/Cli ... _functions how old are you?
  16. then credit original maker, and, out of curiosity, what did you change?
  17. karlis

    Race Stats

    make sure does it needs a capital letter at beginning.
  18. yep, he just merged like 10script files from 50p's bank script into 1, claimed as own, and uploaded.(also commented few lines)
  19. laughed how you made "your own bank system" by just merging 50p's script into one file.
  20. ok, then the option bind syntax is a bit confusing
  21. https://community.multitheftauto.com/ind ... ls&id=2292 ripoff from 50p's bank system( https://community.multitheftauto.com/ind ... ails&id=54 ) with script merged in one file.
  22. make sure texture file is valid and with right name, and specified in meta.xml.
×
×
  • Create New...