Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Anubhav

  1. I can download from other online servers. Only from local server cannot download, it times out later on. https://pastebin.mtasa.com/583515500
  2. where are you setting the element data?
  3. delete https://community.multitheftauto.com/index.php?p=resources&s=details&id=11373 https://community.multitheftauto.com/index.php?p=resources&s=details&id=9581 DONE
  4. addCommandHandler("checkplayervehicle", function(source, cmd, target) if not (target) then outputChatBox("/checkplayervehicle [Player]") return false end local target, targetName = exports["serverCore"]:findPlayer(source,target) if target then local targetAccount = getAccountName(getPlayerAccount(target)) local playercar1 = executeSQLQuery("SELECT Model FROM vehicleSlot1 WHERE PlayerName = ?",targetAccount) if #playercar1 > 1 then outputChatBox(getVehicleNameFromModel(playercar2[1].Model),source) else outputChatBox("slot 1 empty",source) end local playercar2 = executeSQLQuery("SELECT Model FROM vehicleSlot2 WHERE PlayerName = ?",targetAccount) if #playercar2 > 1 then outputChatBox(getVehicleNameFromModel(playercar2[1].Model),source) else outputChatBox("slot 2 empty",source) end end end )
  5. createMarker createBlipAttachedTo
  6. Add "resource.admin" to "Admin" ACL group. That should do the trick.
  7. For every lower height, try to increase the Y by some value to have the same size. It will have same size, and it should fit. You have to find the some value tho.
  8. I assume drawing the image while the person in aiming sniper through isPedAiming (useful function), and then adding a picture which has the same diameter circle should do. You could add some frames in it to make it look more better
  9. Very hard to give proper answers isn't it? Lol. The syntax for INSERT is incomplete and wrong because it is incomplete. And by the way you do not poll dxExecs..... Anyways, there is a good tutorial on this. Go there and check the first post with db functions.
  10. function spawn( player ) local rnd = math.random( 1, #spawns ) setElementPosition( player, spawns[rnd][1], spawns[rnd][2], spawns[rnd][3] ) setElementPosition( player, 0 , 0, spawns[rnd][4] ) end addCommandHandler("pvp",spawn)
  11. How about using getTimerDetails, and setting those details in a table in setElementData? Server timers are different from client sided timers Client sided timers usually depend on FPS.
  12. https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot trigger client event with imageData of that create the file client side
  13. function katana(attacker, weapon, bodypart, loss) if getElementData(attacker, "zombie", true) then if getPedWeapon(attacker) == 8 then setElementHealth(source, getElementHealth(source) - 40) end end end addEventHandler("onPlayerDamage", getRootElement(), katana)
  14. Anubhav

    Downloading problem

    Thanks. Figured it out that my anti-virus was detecting the network as public... that's why..
  15. Anubhav

    Downloading problem

    This week, on my local server, I have not been able to play on it properly. Resources do not download. <httpserver>1</httpserver> is set to 1 <httpdownloadurl></httpdownloadurl> is empty Pictures:
  16. He's a nice dude. I recommend him too, like anyone else above. GL mate, and I'm sorry again D:
  17. If I wanted you to make that script, how much would you cost? (Your customers who need an price, can assume and estimate if it is in your budget, from this pricing)
  18. You cannot if you do not have the premium version of it. I'm unaware of any free VPN to portforward.
  19. Anubhav

    Profile picture

    For connection forum profile picture to ingame profile picture: Using PHP SDK: Use PHP SDK to call a function which sends it the link of the image to use "fetchRemote" from. And update it.
  20. You may want to go for hide.me VPN. You don't even need to set up it. lol
  21. xRaM isn't even a scripter. He contacted my friend on Skype, who further contacted me. He asked me to get RPG gamemodes for him. I simply told no. He told me plese help am beginner in Lua Now beginners making RPG modes while asking.. well ok
  22. @Woovie NBG was a old server, these scripts are leaked. On the page, he claims to be the owner. Which is not true at all.
  23. Replace 6th line with: if #playerQueryResult == 0 dbPoll returns a result, in a table. If the table is empty, there is nothing. Anyways, can you show the full script, where you add the table? Make sure that is done. I see nothing wrong here Use a else on that if to load your settings
  • Create New...