Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. show us your code, so we can fix it..
  2. lol, just go to the north from the bot and check if it is saying "south"? same for other directions..
  3. why you ahve changed y to y2? and on like 4 you have y = ...
  4. this is more than possible
  5. are the directions correct? not inverted or just random?
  6. hmm, tell me what is that 19.0 ? it should be color variable.. arguments are invalid
  7. are directions ok? or just script is not broking? im wondering if i did everything right as i suck at maths
  8. i dont think zombie srvrs will die out. if you make something unique, and zombies will be part of action (not main part) - it will be way cooler. i was on about 3 zombie servers and each of them was boring as hell..
  9. i think readme/installation file (included in zip with whole gamemode) says everything, you just need to read this, and if you dont know about pretty anything - use some google to find the answers.
  10. for me it looks like he have banning function, now he is expecting us to write the detecting functions, so he can add his banning functions on the end of every detect function
  11. mta lua is rather idiot-proof (it doesnt mean i think you are one, just a general calling), but on some more advanced languages - setting values over the max will broke whole code the sound volume is max by default anyways im always wondering why everyone using playSound or playSound3D are setting volume to default value. never seen anybody here (asking for help) NOT doing this.. hmm, maybe example on wiki have this?
  12. all functions and variables names will be pretty random - but it's decryptable. 15 minutes or so - and you have original script (wout comments, and some functions order can be different)
  13. maybe try doing something by yourself? i told you it was written in browser - the only thing you had to do is open wiki and see my mistake. it's: getDistanceBetweenPoints2D ...
  14. I think you forgot we have the wiki there.. https://wiki.multitheftauto.com/wiki/Cli ... _Functions https://wiki.multitheftauto.com/wiki/Ser ... _Functions IsPlayerInArea -> isElementWithinColShape (you have to create colshape first! there are much types of colshapes - choose the one most suiting you - click) IsPlayerInVehicle -> isPedInVehicle (i see you are checking for specific vehicle in SAMP - here you are checking if player is in any vehicle - to get player vehicle use getPedOccupiedVehicle - it will return vehicle elemnt or false if player is not in vehicle - you can use this instead of isPedInVehicle too)
  15. do you have onClientRender event handler? or you have no idea about dx drawing? (if no idea -> https://wiki.multitheftauto.com/wiki/DxDrawText or any dx function on wiki)
  16. no files like .SQL are needed. default connection data will be: host: 127.0.0.1 user: root password: and you need to create/import database (not sure what are you trying to install? mabakos MTA Paradise?) - you can do it with phpMyAdmin (on XAMPP server start www server also - and point your browser to http://localhost/ - there should be some link to phpMyAdmin (not sure about that, im not using xampp, seen it only once). not sure if you only need to create empty database, or maybe albo import something - this should be written in mta paradise manual/readme/whatever.
  17. im tired a bit, sry, try this: addEventHandler("onResourceStart", getResourceRootElement(getResourceFromName("your_resource_name")), handler_function)
  18. https://wiki.multitheftauto.com/wiki/Ser ... nistrators
  19. @cyklopas, don't go offtopic, posting random scripts. @Depot - mysql is actually something more than file. it's database server. i can help you more if you tell me if you are hosting the server on own, home machine, or on remote server hoster like serverFFS
  20. Hmm, another zombie-based server/gamemode? PERSONALLY i think we are already full of zombie servers, but if ppl likes it - why not.
  21. thanks zango. MI550: dont go offtopic, also stop using bad words please.
  22. wiki have something called functions list sorted by categories. its much better to use it than doing random coding https://wiki.multitheftauto.com/wiki/Ser ... _functions addEventHandler("onResourceStart", getResourceFromName("your_resource_name"), handler_function) much better, huh?
  23. is it creating that object or not? because im not sure if resourceRoot is hardcoded variable, use getResourceRootElement(getThisResource()) instead. and if its creating element but it's collidable - then idk whats wrong, never played with setElementCollisionsEnabled
×
×
  • Create New...