Jump to content

Sasu

Members
  • Content Count

    1,055
  • Joined

  • Last visited

Community Reputation

2 Neutral

2 Followers

About Sasu

  • Rank
    Hard-@ss
  • Birthday 05/10/1998

Details

  • Location
    Buenos Aires - Argentina

Recent Profile Visitors

2,399 profile views
  1. Hey! My friend can't open mta after reinstalling gtasa. I told him to run MTADiag and got this: https://pastebin.mtasa.com/310181529 I appreciate your help, thanks
  2. Hey, merry christmas guys! I really love this video, amazing! And well done MTA Devs and collaborators, thank you for continue this project, you're the best!
  3. Solved. It was oop attribute in meta, this break the module.
  4. Hey! My problem is simple but weird. I'm just doing sockOpen to my socket server but for some reason the server console throws: ' WARNING: Bad argument @ 'triggerEvent' [Expected element at argument 2]' I'm using Linux x64 module (https://nightly.mtasa.com/files/modules/64/ml_sockets.so) and my script is like: local discordSocket = sockOpen("myurl.xyz", 777); My socket server is in nodejs: var App = require('express')(); var server = require('http').Server(App); var io = require('socket.io')(server); server.listen(777, () => console.log("Escuchando puerto 777"));
  5. Do you use MTA in fullscreen? Because when I frequently minimize it I realized that it drops fps. I don't know if it is just a coincidence or maybe it has something to do with.
  6. page_fault_in_nonpaged_area (fairplayKD.sys)
  7. Players of my server are reporting the same. It has just happened to me too. Still can't reproduce BSOD with ccw's instructions but this is my dump when I got the first BSOD: https://upload.mtasa.com/u/729634314/120217-30921-01.dmp_
  8. Hi! One friend needs help with a problem. When he tries to connect to a server, he is instantly disconnected. I hope you can help him. Thanks in advance. https://pastebin.mtasa.com/764020281
  9. Sasu

    Remaining Time

    I had already tested, and added some features. function onResourceStart () executeSQLQuery("CREATE TABLE IF NOT EXISTS vip (account TEXT, hours INT)") end addEventHandler("onResourceStart", resourceRoot, onResourceStart) function isPlayerVIP (player) local account = getAccountName(getPlayerAccount(player)) local query = executeSQLQuery("SELECT * FROM vip WHERE account=?", account) if (query) and (#query > 0) then return true else return false end end function getPlayerVIPHours (player) if (isPlayerVIP(player)) then local account = getAccountName(getPlayerAccount(player))
  10. Sasu

    Remaining Time

    Did you check if the column 'hours' was succesfully created? Use an application to see the table. Also in my script you can try to use outputChatBox to see what the variable 'hours' return.
  11. Sasu

    Remaining Time

    Did my method work?
  12. Sasu

    Remaining Time

    function round(num, numDecimalPlaces) local mult = 10^(numDecimalPlaces or 0) return math.floor(num * mult + 0.5) / mult end function getPlayerVIPHours (player) if (isPlayerVIP(player)) then local account = getAccountName(getPlayerAccount(player)) local query = executeSQLQuery("SELECT hours FROM vip WHERE account=?", account) local hours = round((tonumber (query[1].hours) - getRealTime ().timestamp)/3600, 2) return hours end end
  13. I know it is SA:MP but that's not change the fact that it use GTA so if it possible there, in MTA could be too, of course it could have been added here or not. That's why I'm asking here. I have already searched but I didn't find them. Maybe because they're not objects as well but I thought that there may be another way to work.
  14. Hi everyone! I'm wondering if there is some way to use CJ Clothes as objects so I can use it on other skins by attaching them. Like this part of the video: Thanks in advance!
×
×
  • Create New...