
jkub
Members-
Posts
342 -
Joined
-
Last visited
Everything posted by jkub
-
nevermind lol I found out myself. I went into the freeroam fr_client.lua and took out the line that says addcommandhandler ("wp") or somthin like that!
-
Hy you guys... I am running a freeroam server and I have went through the freeroam's meta.xml to disable the minigun and rocket launchers but a lot of people know about those annoying codes to get them even when disabled such as "wp 550" to get the minigun. Is there a way i can disable those stupid codes?
-
Hy you guys I use Offroader-23's map editor he made for my server and I have a map Ive been working on for a while now. But now when I load it in my server It dosent display. Like when i do "loadmap name", it says it loads the map but when i go to the maps location I dont see anything. Ive even looked in the offedit folder in my resources directory where the maps are stored and it is there? I even opened it and it still had all the objects in it but its not loading right. ive tried reconnecting and restarting the resource but that doesent solve it. Can you please help me... I dont want to lose this map
-
I am currently making a drag race track for my server and I am wanting to use the stands from the small baseball stadium in lasventuras BUT. I use the gta map editor to get object ids for my maps and when i select the stands object from the stadium it only gives me LOD and not the real model. I checked and made sure the view option was set to near. Can you please help me
-
There are no commands to do. I just start the script. But I should of asked for assistance on creating commands to open and close it when i started this thread. And btw when I did start the script nothing came up.
-
their are no errors in the server window but all the script does is create the object... it does not move it? Is there something special I have to do?
-
IM sorry for not saying this earlier but what i want is for the gate to be their in my map at all times and when I enter a certain "admin only" command it opens and enter an "admin only" command to close it
-
Ive went through all this and I can say that it dosent work. I really need this one. I can get the createobject to work but never getelemantdata or moveobject
-
wasup my niga offroader, Ive been using your editor for a long time now I love it.
-
I did that as soon as i read the post and it still gives errors... anyway here it is now local gatesTable = { } -- it defines a table addEventHandler( "onResourceStart", getResourceRootElement( getThisResource( ) ), function( ) local gates = getElementsByType( "gates" ) for k in pairs( gates ) do local x, y, z = getElementData( v, "0" ), getElementData( v, "0" ), getElementData( v, "5" ) local gateObject = createObject( 975, 0, 0, 5 ) table.insert( gatesTable, gateObject ) end end ) -- now gatesTable will contain all object elements (returned from createObject) and now you can use this table to move a gate moveObject( gatesTable [ 1 ], 5000, 5, 0, 0 ) -- this will move the 1st gate created can you tell me what is wrong with this and what i shouldent have messed with
-
I put all that in a lua then ran it i got serveral bad argument lines in the server. But I went into my server anyway I turned it on The gate wasent even created. Im sorry for the trouble but I have spent hours studying the wiki And it is just so confusing I cant get much out of it. I feel kinda stupid since you pretty much did the whole thing yourself lol. For some reason i though i might be able to fix the lines myself so I altered the script a little and now i get these errors 3 bad argument notes for 'getelementdata' line 6 and a bad argument for moveobject'. As i said i tryed it ripped strait from here. But it didnt seem towork... I just edited one line and that was the createobject line I specified what id i would use and the location. here it is now still saying getelement data is messed up and moveobject too local gatesTable = { } -- it defines a table addEventHandler( "onResourceStart", getResourceRootElement( getThisResource( ) ), function( ) local gates = getElementsByType( "gates" ) for k in pairs( gates ) do local x, y, z = getElementData( v, "posX" ), getElementData( v, "posY" ), getElementData( v, "posZ" ) local gateObject = createObject( 975, 0, 0, 0 ) table.insert( gatesTable, gateObject ) end end ) -- now gatesTable will contain all object elements (returned from createObject) and now you can use this table to move a gate moveObject( gatesTable[ 1 ], 5000, 5, 0, 0 ) -- this will move the 1st gate created
-
If that line was incorrect what shall I do so it can be stored to a variable?
-
so would this be the correct moveobject line? moveObject ( gates, 5000, 5, 0, 0 )
-
So after I do the getelementbytype function can I got strait to the moveobject command or is there somthing else I need to do
-
How would i specify which objects are gates or put my own element into a map file. How would i do any of that stuff you said because I am a complete noob to lua.
-
Hy again... I have been heavily using the moveobject function on my server in a script. But I only know how to script where it moves everyobject in the game that I placed... I want to make it to where it only moves one object like a gate. Look down below here is what i did... allObjects = getElementsByType ( "object" ) for key,object in pairs(allObjects) do local origX,origY,origZ = getElementPosition ( object ) local newY = origY + 10000 moveObject ( object, 6000000, origX, newY, origZ ) end I got that as an example from the wiki and altered it a bit.. .I use it to move a boat north that i created. But the problem is as i said before it moves every object I have placed with a map editor. I want it to move only one object such as a gate. Like if I made an island And put a gate on the entrance. I want it to be able to open and close without having to use my map editor but instead use a moveobject script so it will be easier please help me
-
hmmm... The reasons I dont want my router back are 1. I have no more computers or devices to connect to it 2. I no longer have xbox live 3. I dont got an official desk and I got all my pc stuff piled on my dresser which is a mess and all the wires are tangled up all over the place, it looks like a fucking nightmare and adding the router back will just make it worse lol lol a shorter list why i would want my router back is to run my server, well thanks for your help man i appreciate it, I guess until I figure out somthin i will just keep posting or somthin lol btw my mta name is Dr.PhillyBlunt (out of the blue) and just because i am bored i will display my specs lol old dell dimension 1100 1gb ram western digital 320 gb hard disk some kind of lite on dvd burner everything else is stock shitty onboard graphics I wouldeve bought a good graphics card but i figured out my mobo is an old crappy one that does not have pci-e ports
-
Well I really dont want to switch back to my router just because this shit decides not to work without it... I want to email someone about this so fucking bad... Correct me if im wrong but Its supposed to be easier to run the server on the browser without a router and it just gets harder without one. I remember a long time ago when I just got my router I havent installed it yet and i ran my server before i even instlalled it and everything worked perfectly it was on the browser and now without the router it wont do crap... That just dont make any since to me. But of course i did notice that my ip address had changed along with my dns and subnet my ip at that time was 76.177.170.9 now its 76.177.160.95
-
Well I will try that soon but of course my problem is not solved I am desperate for a solution I cant wait for a breakthrough to this shit
-
No i checked my ip address is right I made sure ....
-
Hy guys I was running my server on my router just fine, but then i didnt need my router anymore so i tossed it and now i got my cable modem plugged directly into my computer and when i run my server it doesent show up on the ingame browser and i cant connect to it using quick connect either... can you guys please help me fix this
-
Hy you guys. um.. I want to create a train track smash bar id=1374 to be at a certain spot on the map... Anyway I want it to stay in the down posistion until a player gets close to it so it goes to the up position by itself can you please help me with this
-
Hy you guys. um.. I want to create a train track smash bar id=1374 to be at a certain spot on the map... Anyway I want it to stay in the down posistion until a player gets close to it so it goes to the up position by itself can you please help me with this
-
i have downloaded the spawn ramp script from mtabeta.com and the alternative editor thang too, (a map editor) and when i spawn ramps its only to where i can see it, noone else can see ramps i spawn and i cant see any other ramps other people spawn. If im correct i believe it aint served side can you help me fix that, and also my editor is not server side either when i am creating a map only i can see it and use it, but other people dont see it and its not even there, i am wanting to make a island in the sky, sort of like an admin island... but other people cant use because they dont see it neither does it have a collision for them to stand on... can you guys help a noob out plz
-
i seen this when i was looking thru my freeroam script lastnight im not sure about it but gointo your freeroam zip then open up the meta.xml then scroll down until you see this.... goto and set it to false then save it