Jump to content

haybail

Members
  • Posts

    145
  • Joined

  • Last visited

Everything posted by haybail

  1. where did u type it, in the window? it should say something, even if your wrong. note: thats an old server, yours will look different but it will give you an idea. are your two files in the folder myserver in Your MTA Server/mods/deathmatch/resources/ ? also u can test it by trying other info. in the server window type either gamemode hay or gamemode assault as-area51 either will work and report back to the mta server window so u will know if its working.
  2. i think he means directly like u say. no router just via the modem. he is connect directly or connect direct. or on direct, whatever the saying. its the firewall, it probobly didn't get disabled properly or its weird and has funny or multiple settings. keep trying the firewall.
  3. one server had a big big problem with serials, well the way it changed. I don't follow so well what you the three of you are saying but it couldn't hurt to have a look at this: http://forum.vces.net/index.php?showtopic=3078
  4. huh? u mean exports speed number? u could have all the numbers previously as custom, 1 - 10. and the script can call those and display them on screen via the variables. that could work. but yea, no it can't do that as itself. nice script. how long did it take to make? looks really impressive. edit: I should say, 1 - 9
  5. could be a firewall. u have mta:sm dm? a version later than 2.0?
  6. mmm I don't understand what you mean.
  7. it must be resizing the label and not the front. like I thought it would originally but the example threw me off you might be able to only use these, unless u make an outside image similar to this: http://development.mtasa.com/index.php?title=GUI_Fonts https://community.multitheftauto.com/index.php?p= ... ils&id=187 sorry
  8. you could what I do, and copy paste out of the console. function getPos ( thePlayer ) local x,y,z = getElementPosition ( thePlayer ) outputChatBox ( x .. ", " .. y .. ", " .. z ) end addCommandHandler ( "position", getPos )
  9. I didn't use it before but if I had a computer i'd try this: local myLabel = guiCreateLabel ( 0.1, 0.1, 0.8, 0.8, "This is my text container", true ) guiSetSize ( myLabel, 0.5, 0.4, true ) that would make the text height half the screen. does anything happen, can you see the text originally?
  10. I don't really know what CEGUI is. But its suppose to be the GUI element for mta so I would assume it installs with mta and breaks either there or when you start it, mta. I can try shooting off some more questions at ya in case nobody else helps any recent windows updates that may be disrupting it or the installer? like sp3. are you administrator whilst installing it? are u running it under any compatiblilty modes? is it your graphics card? do you have any funny codecs? could it be your computer? lol. but like bad registry or xp install. its unlikely to be your gta if dm installs although still possible. Sorry, I can't be very helpful. You may need a mta dev or someone who can nut it out but they would also need to experience it to do that ( nut it out )
  11. i think u use guiSetSize like in this example: -- create the window (the container for our label) local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true ) -- create the label local myLabel = guiCreateLabel ( 10, 10, 0, 0, "This is my text container", false, myWindow ) -- get the (absolute) text extent and font height, and use these to size the label guiSetSize ( myLabel, guiLabelGetTextExtent ( myLabel ), guiLabelGetFontHeight ( myLabel ), false ) guiSetSize ( myLabel, 0.5, 0.4, true ) http://development.mtasa.com/index.php? ... TextExtent
  12. apparently 'Dont enter your ip into the server config, it will automatically set it'. viewtopic.php?f=90&t=22639&p=276962&hilit=Could+not+bind+the+server+on+interface#p276962
  13. normally you do it through lua. although there may have been a resource that does it for you, I can't find it. the code will look similar to this: -- We create a dummy gui label to get text of local dummyGUIElement = guiCreateLabel ( 0.45, 0.48, 0.10, 0.04, "Hello world", true ) guiSetFont ( dummyGUIElement, "sa-gothic" ) -- Output the font of the label to chat box outputChatBox ( "Font used in the GUI label: " .. guiGetFont ( dummyGuiElement ) ) http://development.mtasa.com/index.php?title=GuiSetFont and the functions you would need to use are listed here: http://development.mtasa.com/index.php? ... ext_labels there is a tut avaliable if you've never used lua before: http://development.mtasa.com/index.php? ... troduction it can be a little hard to understand first time but with help you can get it. and your set !
  14. are u using vista? did u try other mta installs? does mta:dm work? if u are using 1.1.1 try 1.1.2, if u are using 1.1.2 try 1.1.1
  15. would anybody like to help me with the others? theres still plenty to go.
  16. and theres an example you might like to use as well: policeVehicles = { [598]=true,[596]=true,[597]=true,[599]=true } policeSkins = { [280]=true,[281]=true,[282]=true,[283]=true,[284]=true,[285]=true,[286]=true } function enterVehicle ( player, seat, jacked ) --when a player enters a vehicle if ( policeVehicles[getVehicleID(source)] ) and ( not policeSkins[getPlayerSkin(player)] ) then --if the vehicle is one of 4 police cars, and the skin is not a police skin cancelEvent() outputChatBox ( "Only policeman can enter police cars!", player ) --and tell the player why end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle ) --add an event for onPlayerEnterVehicle meaning u can do it like this also: nocars = { [447] = true, [460] = true, [472] = true } if not nocars[id] then if level z etc...
  17. haybail

    server crash

    could it be because of gta? your very vague, its hard to tell weither its mta or gta. edit: oh, you solved it? viewtopic.php?f=89&t=23393
  18. maybe there will be a race v2 or a map editor to use with theirs
  19. the last update people complain it sometimes freezes when you connect on 1.1.2 from the server browser. but not always? only occasionaly, from what I hear. maybe try quick connect instead? see if that helps. or of course you go back to 1.1.1
  20. I was going to say, isnt that easy? you just put a triggerServerSide before setElementHealth. but that would be very bad, if there were 20 people nearby one explosion maybe you could put a cooldown serverside to ignore all the extra incoming clients.
  21. I didn't think you could see your own server from the same machine. but maybe im wrong. I don't know if 22126UDP is right anymore, since 22003 + 123 was for ase. can you find your server on game-monitor? and can players still connect via quick connect if you ask them?
×
×
  • Create New...