Jump to content

Jockie

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by Jockie

  1. I've found a bug.. I think. server.setElementInterior is working without any problems, its changes the interior. function setLocation(leaf) server.setElementInterior(g_Me, leaf.world) But when I replace it with server.setElementDimension: function setLocation(leaf) server.setElementDimension(g_Me, leaf.world) The script will not change the dimension of the element/player.
  2. Oh god, I'm embarrising. Thanks. But the healthbar is still showing.
  3. There has to be a function to make the healthbars and nicks on the screen invisible.. I'm not talking about the healthbar from the HUD, but the one you can see at other players on servers. I just want to know the function, don't tell me a whole script. I know that something like this exists... (other servers ) Grtz Jockie.
  4. I've restarted the server everytime when I've installed/modified a resource. But with this one, it isn't working at all... I'll look for the error, thx for the info. EDIT: Found the bug <catalog type="location"> <location name="Test" posX="-1499.2492675781" posY"-214.14785766602" posZ"14.383546829224" world="0"/> </catalog> It has to be... (somehow ''weird way) (Also forgot some =) <catalog type="interior"> <interior name="Test" posX="-1499" posY="-214" posZ="15" world="0"/> </catalog>
  5. Ye, same as the other XML files, client side. The ''close'' button is also not showing of this little menu. This is what I get. http://img27.imageshack.us/img27/349/screeniei.png
  6. I have a little problem with the Freeroam resource. I've created a little teleport menu inside the freeroam resource, copied the interior part, it's ''almost'' the same with what I need. I've also added a new .xml with all the locations. But when I start the resource, it says: "locations.xml could not be opened." Idk what the problems are. >.> function setLocation(leaf) server.setElementInterior(g_Me, leaf.world) local vehicle = getPedOccupiedVehicle(g_Me) if vehicle then server.setElementInterior(vehicle, leaf.world) for i=0,getVehicleMaxPassengers(vehicle) do local player = getVehicleOccupant(vehicle, i) if player and player ~= g_Me then server.setElementInterior(player, leaf.world) server.setCameraInterior(player, leaf.world) end end end setCameraInterior(leaf.world) setPlayerPosition(leaf.posX, leaf.posY, leaf.posZ + 1) closeWindow(wndSetLocation) end wndSetLocation = { 'wnd', text = 'Set location', width = 250, controls = { { 'lst', id='locations', width=230, height=300, columns={ {text='Location', attr='name'} }, rows={xml='locations.xml', attrs={'name', 'posX', 'posY', 'posZ', 'world'}}, onitemdoubleclick=setLocation }, {'btn', id='close', closeswindow=true} } } The locations.xml is something like this: <catalog type="location"> <location name="Test" posX="-1499.2492675781" posY"-214.14785766602" posZ"14.383546829224" world="0"/> </catalog> I'm a beginner, so don't laugh. Grtz, Jockie. (^.^)-b
  7. Hmm, it's take long to convert a mIRC script to .lua Is there a way to connect a mIRC script?
  8. Hi, I'm just asking right now. Is it possible to connect an old MTA Race script with MTA:mA, with a MTA 1.0 server? Thanks for reading.
  9. I'm using votemanager. Same problems as gamemode race race-**** And I converted and not converted the maps, and it still the the same as above... The maps are normal on MTA:Race. But the MTA 1.0 don't want to start them completely... >.<' EDIT: I see in the Console this: [11:54:14] ERROR: ...erver/mods/deathmatch/resources/race/race_server.lua:189: bad argument #1 to 'unpack' (table expected, got nil) The wrong part local x, y, z = unpack(spawnpoint.position) if g_MapOptions.skins == 'cj' then spawnPlayer(player, x + 4, y, z, 0, 0) Is the race_server.lua outdated? I'm just a beginner, so I don't know realy how to debug it.
  10. When I start a MTA Race map on MTA 1.0 it does this: When I get online and start a map, I see only the sky above Mount Chiliad.(like freeroam resource) When I start a map again, it's loads only the spawnpoints and not the objects and pick-ups. Or I get a black screen. Does someone knows how to start normally a MTA:Race map on MTA 1.0?
  11. Is there a script that then the water automaticly ''walks up''? It's handy for DM. like: you are in a tower must climb up before you drown.
  12. I'm almost done! I repaired the acl.xml Only that http thingy but how do i that? I don't know where to upload. Like: Someone want to connect, then he/she/you must ''install/download'' the ''recources''. Because on my laptop i can't connect, but on my pc i can.
  13. When the Console[me] type: start freeroam , The DOS says then [17:16:40] DENIED: Denied 'Console' access to command 'start' [17:16:40] Access denied for 'start' And it's the same with Jockie I type on the laptop: start freeroam [17:16:22] DENIED: Denied 'Jockie' access to command 'start'
  14. I can login now But when i join i got a BLACKSCREEN. [with chat]
  15. yey TY Only 1 problem now I have set the Freeroam GUI in the resources map. But when i join my server it's don't loads the Freeroam GUI script.[i don't know how the script ]
  16. I'm makin a server but i can't ''upload'' the server. My router is : Siemens SX552 dsl I edited the mta server.conf and i port forwarded the ports 22004 22127 44004 Can some one help me Grz. Jockie
×
×
  • Create New...