Jump to content

FUNExtreme

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by FUNExtreme

  1. and what exactly does he expect? Help? References to some interesting pages? Use your imagination
  2. Do you own a copy of GTA SA?
  3. FUNExtreme

    In-Game Voice Chat?

    I will enjoy muting voice chat
  4. FUNExtreme

    Wasted

    colshapes would probably be the best solution I assume
  5. Still ain't used to the "no search, just ask" disease?? Its spreading
  6. Ok thanks, Because I didn't know that I just wasted a couple of houres debugging and trying other things
  7. So if I understand correctly, the only way it would give trouble is when the table.lua (where the table is) is server-side and the other script where I try to use it is client-side? If that is correct then I found my problem
  8. I'm trying to use a table wich was created in (for example) table.lua inside the script table1.lua You understand what I mean?
  9. FUNExtreme

    [help]Gate

    Your function name in the AddEventHandler does not match the actuall function name openagates1 opena51gates
  10. Hello, I currently understand almost everything of the lua coding structure although there is one thing that keeps annoying me. Tables, I'm able to use them when it comes to the script where they are created but from the moment I try to use them globaly it gives errors. So my question: Is it possible to use tables as a global variable? Note: I didn't make them local xp
  11. https://wiki.multitheftauto.com/wiki/Pickup I didn't search further because of this https://wiki.multitheftauto.com/wiki/SetPickupType Just as you said, thanks Next question: the last link gives a list of custom pickups. Is that the full list or are there more of them
  12. I'd also use SQlite like 50p said, you might want to keep it for friends only for now but maybe you will change thoughts one time and enlarge the file making your resource slow. Just go for SQlite i'd say!!!!
  13. FUNExtreme

    Pickups

    Heya, In Singeplayer there is a mission where you have to steal a jetpack. Now in that mission just before you reach the jetpack you have to pick up a security pass (if I remember correctly). My question: MTA only supports weapon pickups, how do I make a security pass pickup like in that mission?
  14. Ok, thanks for the auto completion "fix" About the saving, did you really mean that people should report here or did you forget the "not" Btw: do you think you are going to try to fix the saving bug or will it last until the new version (in a couple of years ^^)
  15. I don't know if this has been reproduced by someone but when I go to options, change some things and press Save then nothing happens. It just doesn't save. On the other hand the Auto completion seems to pop-up completly random wich makes that most of the time when I press enter it doesn't go too the next line but it changes the line with one of the auto complete ones. Thanks for reading
  16. GTA-Host redirects to ServerFFS samp-host is offline It needs an update
  17. As I wrote before I checked all the options allready but here are the answers tostring returns correctly wich means that it shows "true" or "false" when used in outputDebugString using nothing but just the getElementData also returns "true" or "false" when used in outputDebugString although when I use it in setTeamFriendlyFire it gives bad argument. and as robhol stated (so did I in the first post) toboolean doesn't exist
  18. Hello, I have a problem getting a boolean out of a map file and then using it in a function -- Blah blah (loop here) local newTeam = createTeam(tostring(getElementData(s, "name")), tonumber(getElementData(s, "colourR")), tonumber(getElementData(s, "colourG")), tonumber(getElementData(s, "colourB"))) setTeamFriendlyFire(newTeam, tostring(getElementData(s, "friendlyFire"))) but it always says bad argument, I tried, tonumber, tostring and all that but I actually need toboolean wich doesn't exist in MTA lua. The .map contains .... friendlyFire="true" .... I have allready made a workaround to fix this problem but I want to know if it is possible to do it like I state above. (Using a boolean in the .map file and then just getting it)
  19. Sorry for the double post but I fixed the problem. There was a typo in the file where playerSkins gets information from wich made that it didn't get the information, therefore the table didn't get filled and all the tries returned false
  20. As you stated the playerSkins seems to be the problem. When using currentTeamID[tostring(source)] then it will return the correct number (in this case 1) Here you have the code that shows how the playerSkins is built-up Side-note: The table playerSkins is in another .lua file (wich doesn't give trouble when I use a number instaid of the table) code removed
  21. Well I tried adding tostring allready, just as I tried tonumber and both gave the error. I'll show you the whole join handler code removed
  22. Hello, I'm new to lua as I come from samp and I've stumbled upon a problem that I couldn't solve by searching the wiki, forum, etc So I've come along tables and understand how they work by now although I still seem to have some problems. code removed As you see I created a table wich will hold the current team and skin for each player. But when I try to use these tables in a function wich is here "SetElementModel" I get the error *Resource location*: attempt to index field '?' <a nil value> And I really don't understand why it gives this error, I hope that someone of you can light me up on this one so that I won't stumble upon this problem again. Greetzz, FUNExtreme
  23. Yea, I come from samp to so I'm used to the pawn functions. I've had a couple of issues because of this lower case allready
×
×
  • Create New...