-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
mta version? tried reinstalling mta to clean, new folder?
-
It's clearly said: There is no meta.xml file in folder/zip file with resource called (mrasa-resources-rcg-r8) you have installed (i bet it's zip package with few resource, not a one resource)
-
executeSQLQuery("SELECT * FROM your_table ORDER BY play_time LIMIT 2") replace * if you need to select only columns you need (like: playername) replace your_table with table name replace play_time with play time column name edit: i see you want to get two best times from online players.. something like that function getTop2() local top = { "times" = { 0, 0 }, "accs" = { nil, nil } } for key,val in ipairs(getElementsByType("player") do local time = replace_this_with_your_query if tonumber(time) > top['times'][1] then top['times'][2] = top['times'][1] top['accs'][2] = top['accs'][1] top['times'][1] = tonumber(time) top['accs'][1] = getPlayerAccount(val) elseif tonumber(time) > top['times'][1] then top['times'][2] = tonumber(time) top['accs'][2] = getPlayerAccount(val) end end end
-
why twitter? no, as i cant remember any colorful pickups in race (green, white, red, etc) ..
-
screenshots pls, still dont get it..
-
I see, got it too. If you are having vorbisFile.dll, but it still triggering error - maybe your vorbisFile.dll is DAMAGED or INFECTED. First - try reinstalling, if problem will keep occuring - check filesize - 64,0 KB (bytes: 65 536), and check your system for viruses. Also check if your installation CDs/DVD (dunno on which one GTA:SA comes, I have Steam version) isn't scratched.
-
https://wiki.multitheftauto.com/wiki/PHP_SDK
-
try to reinstall newet version of mta (1.0.4) - https://mtasa.com/ to clean, new folder.
-
You did something wrong then. We aren't doing magic and can't help you with only this information. Remove everything and read README/INSTALLATION file (or however it's named) included with gamemode - and you will be fine.
-
Exact name of this file? I don't have any vorbisfile.dll and it's working.
-
i bet its more texture editing error than script - as race is already replacing pickups - so he need to copy txd to right folder and thats all
-
The Order For Person-correctly-using-quote-feature is going to you, Agressivelol, congratulations! Really, I'm impressed If you don't get my message - simply ignore it ^^
-
No need to bump so fast.. Try to better explain - what are you doing, what are you expecting to get, and what are you actually getting (attach some screenshots). Then it will be easier to help you.. We are not fulfilling requests, blablabla, read 1000 other posts when I said this..
-
local result = executeSQLSelect ( "Mysqltable", "yx","serial = '" .. serial .. "'") if ( type( result ) == "table" and #result == 0 ) or not result then -- there is no such rows, or sql execution failed else if result[1]["yx"] == 1 then -- first row (1), column called "yx" (as you can select multiple columns on one query) -- and i'm not sure if it will return integer number or string on select - maybe you have to write == "1" end end edit: wiki is your friend
-
Little help (gas stations, useful objects,ppl for beta-test)
dzek (varez) replied to dzek (varez)'s question in Client
as you can read in my sig - developenemt is currently halted - i have too much on my head actually im from GMT +1 too. -
you can send me map file (use private message) - ill fix it. every time you are saving your map - it's good to check if there is an default selected (trash can - bin) object somewhere - sometimes it got created with map editor (some kind of bug) - but it's not stored correctly, so map stops loading on this object. just open "current elements", and search for "bin" before saving. (not sure if it's name was containing bin - please check if im right). hmm, adding a tool to my mta site that will be removing broken objects from map file is a good idea.. your english is OK btw, at least its not worse than mine ps. i noticed this trash object is created when you are opening objects selection screen, but not choosing any and pressing "cancel"
-
try Debugging as i said - its much faster than waiting for replies. example of debugging: function loginHandler(player, username, password) local et = getElementType(player) local name="invalid" if (et=="player") then name = getPlayerName(player) end outputDebugString("player element type is "..et.."("..name.."), the username is "..username.." and the password is "..password") -- rest of actions in this way you can check if the values are like you excepted them to be, if they are wrong (for example player is not an element or something - get "one step back" in your script to see how it looks before firing the function, if on this step there is still wrong - get back to even previous step (like: to client side, just before triggering event to server) - finally, you will find your error.
-
I'm bit busy right know, but when computer is doing something I'm checking the forums - anyway, i dont have a time to debug it, try it by yourself, you will need in many times: https://wiki.multitheftauto.com/wiki/Debugging
-
function loginHandler([b][color=#FF0000]player[/color][/b], username, password) local account = getAccount( username, password ) if (account ~= false) then if (logIn ( [b][color=#FF0000]thePlayer[/color][/b], account, password ) ~= true) then
-
Hosted in Australia (some sources says Netherlands - but my ping to this location is 350ms which have to be far away from Poland - so it's Australia). Lot of Half-Life 2 based games are hosted on this server too. But it looks like home server not a dedi. Or just own powerful dedicated hosted on good connection from home. SSH port is closed - so another reason why it's not a dedi hosted on some companies. Summary: Home server with a lot of gameservers, where owner seems to care about the other servers he is hosting.
-
sounds weird. can you attach a screenshot?
-
for vehicles - you can use my mta tools site that include vehicle replacement resource generator soon you will be able to replace peds on this site too. for now you can generate vehicle replacement - and edit it to make it work for peds- it's almost the same way. notice that you can't replace DFF (model) of the peds. only TXD - textures.
-
give me ip - ill tell you if its on dedi or from home. its possible to have good connection these days. "Default MTA Server" is .. default name in server confing. Somebody just started it - nothing else. We can't do anything with that, as we can't control other servers.
