Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. 1. read more at google 2. really, read more at google 3. have you created database? 4. have you setup the tables? 5. is your script database, login, password, etc correct? i bet no. 6. read more at google 7. why dont you use sqllite instead of mysql? no need to install anything, and for simple database its enough 8. if you really need mysql - read more at google.. its really too much things you have to know to mention it all there.
  2. if you want to make save system for money skin etc, i think you should use setPlayerMoney instead of givePlayerMoney
  3. dzek (varez)

    MTA crashed

    https://wiki.multitheftauto.com/wiki/Kno ... hing_MTASA
  4. when im using polish national characters -- its ok for all polish ppl too.. but looks weird on console.. and russian texts on console it is just like you said: áàééö etc ofcourse, when you are talking russian, others non-russian ppl are seeing it like i see on console: áàééö this looks pretty random when you are talking russian and somebody see it. they can't even copy that text to translator to translate it
  5. gta bug, not mta (look on youtube for example.. this is happening to cj skin only ) again, gta bug, not mta, but happens much more often on mta than on gta (becouse of a lot of skin changing i think). i had this, but after some time.. it stopped.. just without a reason the problem has gone.. but its still related more to gta than mta. ps. i think that CJ skin "crashes" like on the screenshot, while others when doing "same crash" just are converted to white.
  6. i think after he open map in editor the water color isnt changing (as script isn't fired up, just map loaded, am i right?) OR he want to have possibility of chaning water color in map editor. i bet on 1 option anyway
  7. https://community.multitheftauto.com/?p=resources ... ils&id=745
  8. rly? that's weird.. anyway, looping through all spawnpoints, and spawning player at these place, and stop spawning after last random spawn -- not so good idea.. better is to choose one (random) and spawn.. and thats all
  9. ERROR: Infite/Too long execution (mapmanager) you messed something with votes it think (as this is mapmanager infinite run, not your gamemode whatever its called) and.. local spawn = getElementsByType("humanitySpawn", mapRoot) local x,y,z for key, value in pairs(spawn) do x = getElementData(value, "posX") y = getElementData(value, "posY") z = getElementData(value, "posZ") spawnPlayer(source,x,y,z) setCameraTarget(source,source) end what you tried to do by that? it will spawn at last spawnpoint anyway ..
  10. this will remove blips attached to players (i didnt test it, but should work, the only problem is that after somebody join it will create blip for him/her anyway.. so maybe a little timer, removing blips every 1-5 seconds?) function removeAttachedBlipsFromPlayers() local players = getElementsByType('player') for key,val in ipairs(players) do local elements=getAttachedElements(val) for key2,val2 in ipairs(elements) do local theType = getElementType(val2) if (theType=="blip") then destroyElement(val2) end end end end setTimer (removeAttachedBlipsFromPlayers, 2000) -- it will run every 2 sec PS. Better idea is to edit freeroam resource, but..
  11. use interiors resource teleports are set via xml and theres nothing easier to just set the values..
  12. dzek (varez)

    color

    read about evens again, and start to debugging scripts before asking for help (open console and type "debugscript 3" -- your errors will be there!) function nameTagColor ( thePlayer,commandName, text ) -- these parameters are from COMMAND handler, and this function handles EVENT setPlayerNametagColor ( thePlayer, text ) -- thePlayer isn't exist end -- fix time: -- remove 2 first parameters from nameTagColor -- and replace thePlayer with source -- please try to understand it, not only apply this fix
  13. when you set something with setAccountData its stored in /mods/deathmatch/accounts.xml part of my account.xml: <account name="CrazyLady" password="358e576e759axxxxxxxxxxxxxx" ip="xxx.22.63.xxx"> <string_data bank.balance="0" /> </account> after you set piraterpg.money in your account in accounts.xml something like that will be added: <account name="CrazyLady" password="358e576e759axxxxxxxxxxxxxx" ip="xxx.22.63.xxx"> <string_data bank.balance="0" piraterpg.money="345435" /> </account> Clean now? if not -> read https://wiki.multitheftauto.com/wiki/Account over and over until you get this
  14. https://community.multitheftauto.com/?p=resources ... ils&id=742 https://community.multitheftauto.com/?p=resources ... ils&id=741
  15. hmm, well, i know nothing about it.. when i was in need of getting veh speed (for another script - checking if speed is enough), i just copy few lines from speedometer res. i thought there was no need to reinvent the wheel
  16. download and look how it's done .. you will do it same way anyway..
  17. ok,i got the idea.. i just didnt know that word, and you used Capital Letters so i thought its name of something.. yea, im very happy
  18. Strika - Zango already said that
  19. dzek (varez)

    Weird Bug

    install OLDER graphic drivers, install newest directx, etc etc.. try everything mentioned in these posts
  20. @Jason: what is "Mobile Flat", and i was talking about HEIGHT not the filesize you have changed your sig anyway?
  21. https://community.multitheftauto.com/index.html?p ... ils&id=740 edit: https://community.multitheftauto.com/?p=resources ... ils&id=737
  22. so this is not a string format but xml.. interesting ^^
  23. hmm, and if im just lazy (i mean: i know scripting very good, so i can help you with problems) can you do something for me ?
  24. dzek (varez)

    Weird Bug

    https://forum.multitheftauto.com/viewtop ... 04&t=27582 https://forum.multitheftauto.com/viewtop ... 04&t=27007
×
×
  • Create New...