-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
B.L.A.S.T. V5!!! ALL NEW!! ALL GOOD!! ALL SPAM!!
dzek (varez) replied to Mr.Bill's topic in B.L.A.S.T.
a: EVERYTHING should be orange.. excepting samp, which should be.. hmm.. invisible q: free orange juice for everyone? -
REPORT COMMUNITY CENTER RESOURCES HERE
dzek (varez) replied to SATAN's topic in General MTA discussion
https://community.multitheftauto.com/?p=resources ... ils&id=883 oh, and somebody - look at this: https://community.multitheftauto.com/?p=resources ... nts&id=884 he agreed that he stolen it -
try to download with IE maybe? I know sometimes (extrelmy rare, but i know why) firefox dont want to download something. I assume you are using firefox. temporary mirror: http://upload.dzek.metal.info/pliki/mta_mysql.so.tar.gz
-
creating it with same password as username is at least stupid.. creating accounts based on nickname too.. autologin is based on serial, your script on nickname.. i dont know much about autologin but.. isnt it creating accounts automatically? I'll upload my auto-registering and auto-logging script to community.
-
B.L.A.S.T. V5!!! ALL NEW!! ALL GOOD!! ALL SPAM!!
dzek (varez) replied to Mr.Bill's topic in B.L.A.S.T.
a: me! and my dog too! q: wtf is on WallMart avatar? -
MaddDogg notice he is running this funcion also on onPlayerJoin handler o_O
-
btw: are you sure you blocked "register" "login" and "logout" in ACL? if not - your script is extremly easy to hack and login as other user... oh well.. its still easy - just changing nickname.. whatever.. only script fix, not logical fix, cause your logic is totally broken function triggerTimer() setTimer(makeAccount, 2000, 1. source) end addEventHandler("onPlayerJoin", getRootElement(), triggerTimer) function makeAccount(playerSource) local account = getPlayerAccount(playerSource) if (account) then if isGuestAccount(account) then addAccount(getPlayerName(playerSource), getPlayerName(playerSource)) outputChatBox("Your account has been created!", source, 0, 255, 0) end else addAccount(getPlayerName(playerSource), getPlayerName(playerSource)) outputChatBox("Your account has been created!", source, 0, 255, 0) end end addCommandHandler("makeaccountforme", makeAccount) and suggestion: spend some time on reading wiki, and learning lua, not just merging random code snippets from somewhere - this will bring you nowhere.. https://wiki.multitheftauto.com/wiki/Scripting_Introduction https://wiki.multitheftauto.com/wiki/Debugging https://wiki.multitheftauto.com/wiki/Resources https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions https://wiki.multitheftauto.com/wiki/Server_Scripting_Functions https://wiki.multitheftauto.com/wiki/Client_Scripting_Events https://wiki.multitheftauto.com/wiki/Server_Scripting_Events or just https://wiki.multitheftauto.com/
-
WHAT? you installed map mod (IPL files are changed) and want to play MTA with people with original map? omg omg omg,,
-
B.L.A.S.T. V5!!! ALL NEW!! ALL GOOD!! ALL SPAM!!
dzek (varez) replied to Mr.Bill's topic in B.L.A.S.T.
a: find swimming stickman and you have my vote! q: me for king of whole Earth? -
post full script dude! all i can say seeing these lines: - you are giving bad argument when using getPlayerAccount (source == bad argument) - you are giving bad argument when using isGuestAccount (account == bad argument) but.. its same as: Bad argument @ getPlayerAccount Bad argument @ isGuestAccount isnt it?
-
it was working for me afaik O_O
-
its already made, search on forums or on community.multitheftauto.com
-
you are passing TEAM as last value.. it needs to be player element..
-
i dont think anybody really needs it better way than checking all of possibilities it to do something like: local mystring = "IamGOD" local yourstring = "IAmgOd" local result = compareNonCaseSensitive(mystring, yourstring) if (result) then outputChatBox("yes, strings are the same!") else outputChatBox("no, strings are different") end function compareNonCaseSensetive(str1, str2) if (str1==nil or str2==nil) then return false end if (string.lower(tostring(str1)) == string.lower(tostring(str2))) then return true else return false end end this will output yes, strings are the same!
-
what a weird methods.. maybe this? pressingA=false pressingB=false pressingC=false function checkCombo() if (pressingA and pressingB and pressingC) then -- our action outputChatBox("magic!") end end bindKey("a", "down", function() pressingA=true checkCombo() end) bindKey("a", "up", function() pressingA=false end) bindKey("b", "down", function() pressingB=true checkCombo() end) bindKey("b", "up", function() pressingB=false end) bindKey("c", "down", function() pressingC=true checkCombo() end) bindKey("c", "up", function() pressingC=false end) this is the best way i think, give it a try.
-
did he or me say anything about server side? this also sounds good..
-
There's a guy who keeps finding me anywhere I go
dzek (varez) replied to DOOMie's question in Client
i found something like that in my server logs: i said i dont know anything about xfire, but .. -
i think so.. good idea is not to giving random advices when you dont know how to solve problem nope, but i can write a generator for it
-
Please add new skins! (Frank Tenpenny, etc.)
dzek (varez) replied to RusRambo's topic in Suggestions
The diplomacy... it buurrrnnssssssss.. Why not just say SA-MP. MTA and SA-MP are pretty much the only two online mods for GTA:SA that are worth mentioning anyway. One of those isn't worth mentioning. i know which one ;> -
B.L.A.S.T. V5!!! ALL NEW!! ALL GOOD!! ALL SPAM!!
dzek (varez) replied to Mr.Bill's topic in B.L.A.S.T.
a: no q: robhol, DarkDragon, Scarface, or all of them? -
what is this? afaik this will be true you mean table maybe? anyway 'te' was an example.. wanna do the same for: iamveryluckyman ? ;p
-
afaik - not possible.. in normal way.. when i needed that i just made handler of onClientRender event and in that handler i was checking pressed keys, and when both was pressed then .. something
-
afair Kart is on the list by default o_O
