
Chlorek
Members-
Posts
131 -
Joined
-
Last visited
Everything posted by Chlorek
-
ehm... but if something was compiled, can be decompiled without buggs. solidsnake, just you used not good decompiler. compiled lua code is simple binary file. I have one compiled lua file from your old roleplay, castillo. and I decompiled it correctly - no buggs, all decompiled code works. ps. I decompiled your script for test only. @edit I am programming c++ 4 years and I see making good decompiler isnt difficult.
-
nice idea. I'll try to make it. thx4help
-
Ok so I have table with all created objects. But still I don't know how to save it to file (on resource stop) and how to load it on resource start. Can anybody give me simple example? This file doesn't must to be xml. Just I need save objects with their positions and ID. #Edit Ok, I made it myself... ehm with mta wiki everything works with xml files!
-
It's me again, my 100000 question today lol so, I have simple gamemode which during working created a lot of objects. And is there a way to list them and then save to xml file?
-
Right, now it's working =] thanx guys for help.
-
Oh, so how to (if it is possible) to detect scrolling mouse wheel all time?
-
Sup again people. I scripted this: function setItem(up_down) local gracz = getLocalPlayer() if(tonumber(up_down) == 1)then nastepnyBlok() elseif(tonumber(up_down) == -1)then poprzedniBlok() end end addEventHandler( "onClientMouseWheel", getRootElement(), setItem) ...and when I use mouse wheel function isn't started. What's wrong in the code? #EDIT Ok I scripted everything again and works but I have one problem - so it detect scrolling only when I have any GUI opened, and how to do that it detect scrolling all time?
-
Yo guys! I am scripting minecraft resource and I am looking for scripter who join my project. I scripted about 40% but still there is so much of work. So if anyone wanna join to my project plz post here.
-
And how to make txd? I have TXD Work Shop but I don't know how to make correct .bmp texture file. Or can anyone make for me that? I'll add this person to my resource credits.
-
Ok, so how can I send you my model? Give me your e-mail in PM plz. #Edit And maybe it's txd problem bcuz I didn't change it
-
Hello guys, I know topics like this exist but I still can't do it. So I have one simple .dff model (just little box). Now after I load it by: dff = engineLoadDFF ( "data/dirtBlock.dff", 2584 ) engineReplaceModel ( dff,2584 ) After load everything is ok but when I create changed model mta crashes -,- what I have to do?
-
Welcome back, I can't learn 3ds so I tried Z-Modeler 2. So I have my box model and: 1. How to add textures 2. How to convert model from .z3d to .dff Plz quickly help #EDIT Ok I made .dff file but how to make textures?
-
solidsnake's method isnt safe. last time I heard there is lua decompiler - it allows to change compiled script to source lua code.
-
yeah. it is good idea but I have first person view already. but thanx for help
-
cowturbo, I know there is so much non-usable code. thanx for help. your method is better. this first person view is very important for me.
-
Ok thanx, I'll read this resource and I'll try make it myself.
-
Oh thanx man, it's really usable for me! Just super thanx!
-
Yo guys, like subject - how to make first person camera? I know 0% about how to do that Or just give me idea how to do that - how to set camera etc. Thx for help.
-
I have blender but it don't save models as .dff files. What I have to do to make .dff file?
-
Sup guys, so what's program to create/edit GTA:SA dff models? Thanx for help, I think it's easy question for you =]
-
Yeah man, thanx man. I was playing your unfinished gamemode and I think it's cool, really good job. Moreover, you made it very quickly! You have so many scripts which you made in short time. Good luck man!
-
Hi again. I am scripting something to mta community but I met problems again So I have: function omgmode() local kierowca = getLocalPlayer() local siedzenie = getPedOccupiedVehicleSeat(kierowca) if(getPlayerMoney(kierowca) >= 15000)then if(getPedOccupiedVehicle(kierowca))then if(tonumber(siedzenie) == 0)then triggerServerEvent ("omgModeEvent", getLocalPlayer(), kierowca) else outputChatBox("You must be a driver!", kierowca, 255, 0, 0) end else outputChatBox("You must be in a vehicle!", kierowca, 255, 0, 0) end else outputChatBox("You need 15000$ to buy an OMG-Mode!", kierowca, 255, 0, 0) end end addCommandHandler ( "omg", omgmode) So, in this function is triggeing server event and it doesn't work. But problem isn't at server side... it's in this function bcuz triggerServerEvent is not started. Why? I don't get any errors in the console and no texts on the chat? Please help... I am makin this shi.t 2 hours -,- Thanks for help!
-
I know DarkLink but I don't know is dragonofdark beggining scripter so I wanted he understand it.
-
Maybe make variables be4? =] like this local x,y,z2 = getElementPosition( other ) local z = z2+2 setElementPosition( veh, x,y,z )
-
Yeah, example car is like 3 points of distance so it could be meters.