Jump to content

NeXuS™

Retired Staff
  • Posts

    1,134
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by NeXuS™

  1. Do you mean you want to set it as the login panel is downloaded and started first, then in the background the ped and car models are downloaded?
  2. Use [ code] tags instead of quote. Show us the full code.
  3. @KingBC I'd start it from zero. Create your own gamemode. It is a good way to learn actually. And if you get stuck somewhere, you could ask us on this forum. If we see that you actually want to learn, and you are not someone who are looking for the "free-scripting" in the Scripting section, you'll get a ton of help.
  4. @Dutchman101 Ahh, I thought "GM Play" is an another gamemod, not the default one.
  5. Next time use [ code] tags. Replace "player" and "playerid" with "localPlayer".
  6. We do not offer help on leaked scripts.
  7. getVehicleNitroLevel, getElementHealth.
  8. You have to use a shader as Tommy said.
  9. This script does nothing, just gets the original handling. Give us the whole code if you want some help.
  10. function consoleSetPlayerPosition(source, commandName, posX, posY, posZ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ("Admin")) then setElementPosition(source, posX, posY, posZ) end end addCommandHandler("setpos", consoleSetPlayerPosition )
  11. You have to code it yourself. F11 only shows the local player and the blips created.
  12. You can create a call in the PHP file to the MTA server.
  13. rT = getRealTime(1519257600) year = rT.year + 1900 month = rT.month + 1 day = rT.monthday local text = string.format("%02d/%02d/%04d", month, day, year) Try this.
  14. NeXuS™

    SavePlayerData

    I was explaining in a situation where everything was fine, and he disconnected.
  15. NeXuS™

    SavePlayerData

    If you want to create an unoptimized script, here ya go. setTimer(function() for i, k in pairs(getElementsByType("player")) do savePlayerData(k) end end, 1000, 0)
  16. NeXuS™

    SavePlayerData

    There is no way it isn't saved with this method. It is called every single time a player is disconnected.
  17. NeXuS™

    SavePlayerData

    addEventHandler("onPlayerQuit", root, function() savePlayerData(source) end) Try it with this.
  18. NeXuS™

    SavePlayerData

    How do you call the savePlayerData function?
  19. You didnt get that GIF on the internet. It is exactly mine, and is redirected onto my UPLOAD.
  20. And it seems like upon reconnecting, the collisions position is fixed, and it is at the position it should be, with the event working just fine.
  21. At vehicles, it works. But on objects, it is totally useless. It says I just entered a colshape which is about 40 units away.
×
×
  • Create New...