-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
I would like find a script : auto-kick AFK
dzek (varez) replied to innovation gaming's topic in Scripting
I'd better stay silent now, as I'm tired of flaming with you -
you still dont know what im talking about: if you do in lua md5("lol".."25") on php it's: md5("lol"."25") NOT md5("lol", "25") // THIS IS BAD! for joining strings in php theres " . " not " , " !
-
I'm pretty sure that you edited the code before putting it on server. I'm SURE!
-
joining strings in php looks like: $string1.$string2 if you use comma, it's 2nd argument. php uses 2 arguments for md5! read manual. http://php.net/manual/en/function.md5.php MTA's Lua uses 1 argument, everything else is ignored~
-
COOKIE FFS!! Use that damn [ LUA] tags! and now: go to the 4th post of this topic. copy and paste and NOTHING MORE. And it will be fine.. Every post you are just messing the script, i dont know why? Maybe you tell me?
-
i dont understand you.. https://wiki.multitheftauto.com/wiki/Md5 http://php.net/manual/en/function.md5.php what is that "key"? if you will do md5(some_string, whatever) it will count md5 hash from some_string and ignore the rest ... ? becouse it have only one argument..
-
learn yourself to put your code in LUA tags! you are always just pasting it [ lua] YOUR CODE [ /lua] will do the magic (remove spaces from [ lua] and [ /lua]).. next time if you have a problem, first get your error message, open console, type "debugscript 3" (you have to be admin for that) and all errors will be there. first line is causing error.. price.hunter = 50000 you are setting the value of an array row, but you dont defined the array! solution: price = { } price.hunter = 50000 i didnt check the rest of script, just stopped "debugging while reading" on the first line
-
cookie2, when you are adding event/command handler, the handler function MUST be defined BEFORE adding handler.. in other words: if you copy ready script from here, don't change it if you don't know what are you doing
-
I would like find a script : auto-kick AFK
dzek (varez) replied to innovation gaming's topic in Scripting
he got his help already, thats why we doing offtop stealing somebody's work to help other ppl? some kind of Robin Hood? you can also go outside, find some poor people, steal new BMW, and give the car to that ppl -
i wrote this once, but dont know where.. but.. since San Andreas GTA radios aren't one stream anymore! each radios have some music tracks, and related to each song dj-speeches.. and game is mixing all of that.. so "set position" isn't possible.. it should be available in some way to "set song to 2" (and dj speech will be randomly selected, or pre-set with song) or something like that.. but not "set position"
-
I would like find a script : auto-kick AFK
dzek (varez) replied to innovation gaming's topic in Scripting
you posted part of it.. that part that can be stolen.. and the "hidden" part (server side, that cannot be stolen)- you didnt post it and you already stolen one script, and posted 2 or 3 topics about that, even if the last ones was locked.. your excuses aren't good -
you.. posted.. 400 bytes script.. on.. RAPIDSHARE? I'm sure, that nobody will care.. post your code on forums.. or use pastebin.com or something, but not RAPIDSHARE!
-
I would like find a script : auto-kick AFK
dzek (varez) replied to innovation gaming's topic in Scripting
i'm voting for banning COOKIE2, or something.. Why we still supporting person that constantly STEAL, is RUDE, and playing "DA MAN" here? Sorry for little off topic. -
I see two questions:P setTimer getElementsByType("player") givePlayerMoney but payday script is on community -- use event onVehicleStartEnter with addEventHandler -- and in handler function get the vehicle model id getElementModel -- and check if the id is one of police cars -- if yes, check if the player model id getElementModel -- is the cop id -- if NOT do cancelEvent() and now, FANFARES edit: of course before cancelling the event you can output something to the players chatbox, so players won't get confused, why enter key isn't working
-
Hmm, my thoughts: If you are lazy - just keep beeing a "player" and don't bother anyone. If you are newbie - try to think by yourself, use google, help pages, wikis, ask for help on forums.
-
ive tested: aexec player_name say I'm stupid is working fine
-
10 cars = around 30-40 MB.. BOOOORIIIINNG.. just waiting and waiting to download..
-
no.. but it should be scriptable in some way, i mean, change color to random after car spawn..
-
list: [click function name to get to wiki] addCommandHandler moveObject createObject hmm.. its all i think
-
[REL] RCG - Roller Coaster Generator plugin for editor
dzek (varez) replied to DakiLLa's topic in Resources
wow, every save its keep loading my map in another way, always breaking something now its totally broken when im trying to load it, so i will just make another resource and merge it but this need a lot of bugfixes im using 1.6 version -
maybe you wasnt first with that idea?
-
and older versions maybe?
-
You asking about this? https://forum.multitheftauto.com/viewtop ... &sk=t&sd=a PS. You should ask there.. but there's a lot of info..
-
if ppl can't connect via ip, waiting won't help..
-
hey! you can't get help in 5 minutes be patient..
