Jump to content

Spajk

Members
  • Posts

    285
  • Joined

  • Last visited

Everything posted by Spajk

  1. There are certain rules in the programming communities when it comes to variable names.
  2. Spajk

    MTA SMTP

    I am not sure if mta-sdk is a correct choice. https://wiki.multitheftauto.com/wiki/Modules/Sockets http://www.cplusplus.com/forum/windows/35333/ Take a look at these two.
  3. I just wanted to check before I report it on the bug tracker. Is it just me or the volume of the 3d sounds depends on the rotation of the camera ( I am not sure how it depends, but I can hear a sound better when I rotate the camera to certain rotation).
  4. Spajk

    Pomoc oko scripte

    Napisi mi detaljno o ovome i napravicu ti.
  5. Maybe proper server-side physics should be added. MTA doesn't have a proper client - server structure.
  6. Also, some server names are restricted. (Names of popular servers)
  7. This truly is amazing. If there wasn't that MTA version text on bottom, I'd never guess this was MTA.
  8. As far as I know, pickups don't react with vehicles on MTA.
  9. How do you plan to disable the original sound?
  10. This is epic. I wish you all the luck with your project.
  11. When did MTA dev team ask people to donate?
  12. I too had this error, but with a diffrent resource, I solved it by trying to connect over and over again until I connected.
  13. Spajk

    Read!

    The only good side would be lowering usage from the server. Everything else is quite bad.
  14. What do you mean by "can't open it" ?
  15. I'd like to run certain code via loadstring in an empty envirovment without any MTA or Lua functions. Could anyone who fully understands how Lua envirovments work help me?
  16. function bindRankInfo(player) local accountPlayer = getPlayerAccount(player) local rank = getAccountData(accountPlayer, "Rank") if (rank) then else rank = "Novice" setAccountData(accountPlayer, "Rank", "Novice") end local deliveries = getAccountData(accountPlayer, "deliveries") if (deliveries) then else deliveries = 0 setAccountData(accountPlayer, "deliveries", 0) end local team = getPlayerTeam(player) local teamName = getTeamName(team) if ( teamName == "Freight") then triggerClientEvent(player, "rankShow", player, deliveries, rank) end end function binding() bindKey(source,"F5", "up", bindRankInfo) end addEventHandler("onPlayerJoin", getRootElement(), binding) Client: function jobRankInfo(arg1, arg2) guiSetVisible(GUIEditor.window[2], not guiGetVisible(GUIEditor.window[2])) guiSetText(GUIEditor.label[1], "Your Current Deliveries are :-"..arg1.." You Rank:-"..arg2) guiSetInputEnabled(not guiGetInputEnabled) showCursor ( not isCursorShowing ()) end addEvent("rankShow", true) addEventHandler("rankShow", getRootElement(), jobRankInfo)
  17. You should change the database encoding to UTF-8.
  18. I don't think he's trying to host a 100 players server.
  19. You must save the file client-side and then use that file via engineLoadTXD.
  20. Spajk

    Read!

    Are you high?
  21. Like the map that allows you to teleport on freeroam?
×
×
  • Create New...