Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. myonlake

    HELP MEH !

    What MySQL is; http://dev.mysql.com/doc/refman/5.7/en/ ... mysql.html For database editor I suggest; http://en.wikipedia.org/wiki/PhpMyAdmin Which you need XAMPP or other web server with (XAMPP already has phpMyAdmin so, just see this: http://www.apachefriends.org/en/xampp.html).
  2. myonlake

    Add A Video

    Also known as GIFs.
  3. This section is for learning to script - we don't make scripts for you, you have to make them yourself. Read this: https://wiki.multitheftauto.com/wiki/RedirectPlayer and try to make a script with it.
  4. Or simply just; addEventHandler("onClientPedDamage", thePed, cancelEvent)
  5. myonlake

    Add A Video

    You can't play video in MTA. It has been suggested on Mantis a long time ago however, link »
  6. Copy the code again.
  7. You can use the onClientPedDamage event to cancel the damage. Client-side addEventHandler("onClientPedDamage", root, function() if (isPedOnFire(source)) then cancelEvent() return end end )
  8. myonlake

    Few questions

    2: You can always make a workaround with getCursorPosition and setCursorPosition.
  9. Try surrounding it with a timer. It might have something to do with the ammo not being placed yet.
  10. Triggers? It's quite a basic thing to know of.
  11. Exactly what he is saying, forgot to add that. Use md5, sha1, or even sha256. Or forget MD5 and SHA1, which both can be brute-forced in one day, or even in a few hours if you have enough GPU power and cores. I suggest using SHA256 or then just make a strong algorithm mix-up of your own, for example, a little bit of SHA, a little bit of something else, a random salt generator and such.
  12. Remember to apply some way of stripping slashes and an encryption for the passwords - otherwise no one will join your server if you have none.
  13. On triggerServerEvent switch getRootElement() to localPlayer. I also suggest using onClientPlayerVehicleEnter instead of onClientVehicleEnter, because the latter's source is a vehicle and the other's one is the local player - might have something to do with it.
  14. Try removing other nearby LODs (other rocks). They might have a layer there as well.
  15. The code is encrypted and compiled - oh, and we won't help you with that, so don't bother asking.
  16. You can just do setAccountData(account, index, nil). And you can post suggestions here as it reads 'Suggestions'.
  17. Issue resolved in patch 5872 by ccw. http://bugs.mtasa.com/view.php?id=7854 https://code.google.com/p/mtasa-blue/so ... ail?r=5872
  18. That makes no sense as he is not using setElementPosition and he is using the function server-side. That notice is there only to explain why servers that use a version lower than 1.3.1 can't use the function client-side - because it is only available client-side after 1.3.1.
  19. What even is proxy_sa.exe? Mind telling us if you're using a legit copy of the game?
  20. The code is a total disaster. addEventHandler("onPlayerQuit", root, function() local account = getPlayerAccount(source) if (not account) then return end setAccountData(account, "player.lastSerial", getPlayerSerial(source)) setAccountData(account, "player.lastNick", getPlayerName(source)) end ) Whenever you want the last serial or nick, use getAccountData() to fetch it.
×
×
  • Create New...