Jump to content

xeon17

Members
  • Posts

    1,903
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by xeon17

  1. Depends of the server you decide to play in. But since there are many RPG servers the answer is yes.
  2. 1. Yes 2. This mod works different than GTA Online. MTA has dedicated servers. All are different and you can join them. You can create your server too. 3. MTA has many servers from EU, mostly from France.
  3. Will definitely use this if you decide to release it. Keep it up!
  4. Sex animations were removed from MTA long time ago. I don't know the reason. I remember this resource worked fine before
  5. There are so so many radar scripts on the community (over 25+ for sure) If none of them is good enough for you then you will have to create your own.
  6. xeon17

    GTA 5 MTA

    Unfortunately no Playing MTA:V would be a dream.
  7. CEF actually still works on XP and Vista, but it's outdated. Check this
  8. Damjan je se ponovo vratio braćo!
  9. I think you misunderstood the purpose of element data @NeXuS™ Element data should be only used to sync data between the server and players. Such as scoreboard columns data (a example) Except the bad security, element data has a bad impact on the server performance, as it is synced to all players. Using tables is a much better and faster way to store data.
  10. We are using the same desktop wallpaper haha
  11. xeon17

    cancelEvent

    This message can atually be canceled using the onChatMessage event.
  12. addCommandHandler ("bebado", function(player, command) if(getPedWalkingStyle(player == 0)) then setPedWalkingStyle (player, 126) toggleControl (player, "sprint", false) else setPedWalkingStyle (player, 0) toggleControl (player, "sprint", true) end end ) Eu recomendo usar este codigo, é melhor para o desempenho do que o código acima. Quero mencionar que não testei.
  13. No way, since when mods cause lag lol, did @Bilal135 tell you this?
  14. I have been using maps in lua format for years and never experienced problems. 4089 objects, 600 streamed in. (all loaded client side) When i took the screenshot above, only three resources were running (admin, runcode and a small spawn script) Absolutly no lag, very low cpu and memory usage. My CPU.
  15. xeon17

    Serials

    Create your own account system, best solution.
  16. -- Registration here function registerPlayer(username,password,passwordConfirm) if (getAccountCount(source) >= 2) then return end if not (username == "") then if not (password == "") then if not (passwordConfirm == "") then if password == passwordConfirm then local account = getAccount (username,password) if (account == false) then local accountAdded = addAccount(tostring(username),tostring(password)) if (accountAdded) then triggerClientEvent(source,"hideRegisterWindow",getRootElement()) outputChatBox ("#0000FF* #FFFFFFYou have sucessfuly registered! [Username: #ABCDEF" .. username .. " #FF0000| #FFFFFFPassword: #ABCDEF" .. password .. "#FFFFFF]",source,255,255,255,true ) setTimer(outputChatBox,800,1,"#0000FF* #FFFFFFYou can now login with your new account.",source,255,255,255,true ) else outputChatBox ("#0000FF* #FFFFFFAn unknown error has occured! Please choose a different username/password and try again.",source,255,255,255,true ) end else outputChatBox ("#0000FF* #FFFFFFError! An account with this username already exists!",source,255,255,255,true ) end else outputChatBox ("#0000FF* #FFFFFFError! Passwords do not match!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please confirm your password!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please enter a password!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please enter a username you would like to register with!",source,255,255,255,true) end end function getAccountCount(player) local serial = getPlayerSerial(player) local accounts = getAccountsBySerial(serial) if(accounts) and (type(accounts == "table")) then return #accounts end return false end
  17. local antiSpam = {}; -- Registration here function registerPlayer(username,password,passwordConfirm) if (isTimer(antiSpam[source])) then outputChatBox("Stop spamming you noob", source, 255, 0, 0) return end antiSpam[source] = setTimer(function() end, 3000, 1) if not (username == "") then if not (password == "") then if not (passwordConfirm == "") then if password == passwordConfirm then local account = getAccount (username,password) if (account == false) then local accountAdded = addAccount(tostring(username),tostring(password)) if (accountAdded) then triggerClientEvent(source,"hideRegisterWindow",getRootElement()) outputChatBox ("#0000FF* #FFFFFFYou have sucessfuly registered! [Username: #ABCDEF" .. username .. " #FF0000| #FFFFFFPassword: #ABCDEF" .. password .. "#FFFFFF]",source,255,255,255,true ) setTimer(outputChatBox,800,1,"#0000FF* #FFFFFFYou can now login with your new account.",source,255,255,255,true ) else outputChatBox ("#0000FF* #FFFFFFAn unknown error has occured! Please choose a different username/password and try again.",source,255,255,255,true ) end else outputChatBox ("#0000FF* #FFFFFFError! An account with this username already exists!",source,255,255,255,true ) end else outputChatBox ("#0000FF* #FFFFFFError! Passwords do not match!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please confirm your password!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please enter a password!",source,255,255,255,true) end else outputChatBox ("#0000FF* #FFFFFFError! Please enter a username you would like to register with!",source,255,255,255,true) end end
  18. Instead of a timer use onElementDataChange, better for performance.
  19. xeon17

    Need a Job?

    Is the offer still valid? @Mega9 is interested
×
×
  • Create New...