-
Posts
656 -
Joined
-
Last visited
-
Days Won
2
Everything posted by John Smith
-
But wait... What do we win? I want a hoverboard!
-
Ahahahahahahahahahahahaha
-
myonlake, i guess you are right. Though what about GTA 6? It would come to pc like in 6 years and i believe that by then mta will be long finished, and ready to move forward? (i know that its too early to even sleak about gta 6, but just curious what you think about this)
-
Walid, your code does exactly the same thing as mine.
-
local reloadTime = 4000 -- in miliseconds function shootProjectile() local vehicle = getPedOccupiedVehicle(localPlayer) if vehicle then if getElementModel(vehicle) == 497 then if not getElementData(localPlayer,"shoot") then local x,y,z = getElementPosition(vehicle) createProjectile(vehicle, 19, x, y, z) setElementData(localPlayer,"shoot",true) local p = localPlayer setTimer(function() setElementData(p,"shoot",false) end,reloadTime,1) end end end end bindKey("lalt", "down", shootProjectile)
-
Add this line before bindKey addCommandHandler("Reloading",shootProjectile) Though idk why u need timer
-
Are you clicking left alt key? For left alt key, use 'lalt'
-
change local vX,vY...etc with local x,y,z = getElementPosition(vehicle)
-
engineSetModelLODDistance
-
So? For example Google (Chrome) sends your data to Google as well, each link and usage of internet Besides, 'keylogger' on Windows 10 is used as feedback, in final version of Windows 10, that 'keylogger' will be gone Also if you would read the terms of service and that stuff when installing Windows 10, you would see that there it is stated that by installing Windows 10 Technical Preview you agree that Microsoft can use and see all of your data/activity.
-
Nothing can be perfect, and what do you mean by finishing mta:sa? In your case myonlake we (who want to keep Lua scripting on gta v and higher) should move to some other projects rather than mta (lets be honest, san andreas will get too old and there will be left no players) If mta eventually doesnt move to higher version of gta, it will simply die Even if making mta v would take alot of time with such small developer group,its still better than quitting on mta, and setting san andreas as final mta modification
-
Sorry, what?
-
Nope. Never. And MTA will still be proudly around in the next few years. MTA is far from having been defeated by anything - simply because it is something very special in its own way that cannot be compared to GTA V Online in many aspects (Open Source, practically free, scripting API). P.S.: I totally second Anubhav's previous statement. Yes i do know that, and i agree with you that MTA is really better and has more options and is more unique, but i believe what MrTasty said is kinda true. MTA would have to spend 1 or more years creating MTA V(if they even decide to that) and by then Online mod will be used by 95% of GTA V PC players. Even though MTA is awesome (and would be very very awesome for us;current MTA players) I think that half of GTA Online players would get bored of that game, and wouldnt try MTA V and im afraid that there wouldn't then be so much players on MTA V With GTA:SA and previous GTA games it was easier because it didn't have it's own multiplayer but this... I don't know Still though no matter what, i'd really like to see MTA V and would really enjoy playing it.
-
Rockstar Games has defeated MTA with that Online thing.
-
Jel vam treba jos koji skripter?
-
Please, don't copy. Copy? You serious? So if i have same opinion like other people, i am copying them? What? You want this to be sticky and thats a good joke(_btw diego said that good joke was your topic, not just the topic being sticky part)
-
Good joke
-
Nije ih tako lako privuc Nema nijednog balkan servera na mta, treba pocet radit balkan servere pa ce ljudi dolazit (ako bi neko htio radit na balkan serveru u mta, mogao bih pomoci kao scripter)
-
addEventHandler("onClientRender",root,function() cryingBaby = true while true do callMommy() end end)
-
maybe its problem in you
-
checking if some specific data already exists in SQLDatabase
John Smith replied to John Smith's topic in Scripting
i am sorry.. i dont know how but after i have restarted the resource couple of times and tried debugging what is the numRows returning, it somehow got fixed by itself thanks for help solidsnake14! -
checking if some specific data already exists in SQLDatabase
John Smith replied to John Smith's topic in Scripting
i am in a progress of making team/clan manager which will later consist of a gui where i or someone else would put people in other teams or in my own team i have created a command like in above code just for testing with SQL since im pretty new at it, still learning with above code+ some editions from you(which you posted) i got a script which will successfully put me in my sql table team of choice however when i put myself once in any team, i cant put myself in any other team since it outputs to chatbox "player is already in a clan" and i dont know how to solve this as im new to sql.. -
checking if some specific data already exists in SQLDatabase
John Smith replied to John Smith's topic in Scripting
thanks but umm i have other problem.. in my code theres variable team which is transferred over command i have inserted myself into team a and it returned true if i want to put myself again into a it doesnt allow it - nice however if i want to put myself in team b as well, it wont allow me -
checking if some specific data already exists in SQLDatabase
John Smith replied to John Smith's topic in Scripting
i changed lines to this local isPlayerInClan = dbQuery(database,"SELECT * FROM "..team.." WHERE memberSerial=?",getPlayerSerial(targetElement)) local theResult = dbPoll(isPlayerInClan,-1) if not theResult then --dbExec(...) else --output warning player found --... still it always says player already in database i am not sure how do i debug this, result returns a table, i thought it returns a boolean.. idk what to do now