-
Posts
275 -
Joined
-
Last visited
Everything posted by uhm
-
I heard extreemhost.nl is really good
-
try this function drawText() -- A function to draw the text we want dxDrawText("test", 421, 30, 911, 68, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) end function startText() addEventHandler("onClientRender", getRootElement(), drawText) end function stopText() removeEventHandler("onClientRender", getRootElement(), drawText) end --THAT_ATM_BUTTON = guiCreateButton( this already exists somewhere probably ) addEventHandler ( "onClientGUIClick", THAT_ATM_BUTTON, startText, false ) Steps in logical order: 1) Add the event When player click on this, Do enable the handler that gets called everytime a frame is drawn and something should appear on screen 2) Add the event When a frame is drawn, Do your dxDraw functions 3) Done. 4) To remove that text, remove that handler for When a frame... by calling stopText() Also check out Remp's awesome resource for this kind of stuff that also generates lua code https://community.multitheftauto.com/index.php?p= ... ils&id=141
-
what are you talking about? maybe setting the skill level? for example allows dual wield of sawnoffs setWeaponProperty()
-
Please see the server manual, it's a good starting point https://wiki.multitheftauto.com/wiki/Server_Manual Protips: To easily download the MTA server to the current directory, copy the following line, go into PuTTY, right click anywhere in that console to paste wget [url=http://linux.multitheftauto.com/dl/131/multitheftauto_linux-1.3.1.tar.gz]http://linux.multitheftauto.com/dl/131/multithef ... 3.1.tar.gz[/url] Then use the following to untar and ungzip the file to a directory: tar -zxvf multitheftauto_linux-1.3.1.tar.gz Also there might be a problem about a missing file called libreadline.so.5, which can be fixed using the following command: yum install compat-readline5-static
-
nah dawg just wine it Client on Linux Manual
-
I don't quite understand, I do like your avatar and that Miranda Kerr wallpaper. What exactly is this site and what makes it better than the MTA resource sharing community ?
-
Can you rephrase the following: "when I try to enter my server so I like any person of any error in script when I pause this script gives another has no good as anyone", I don't understand what you mean... But the error from the screenshot means that it can't download freeroam/vehiclecolors.png because it simply doesn't exist. I'm guessing the file is linked wrong though.
-
probably edit the map file of the gamemode you're running (it has a .map extension) and then remove the lines of those cars it looks like <vehicle id="Banshee" model="429" posX="-700.66668701172" posY="946.43811035156" posZ="12.032683372498" rotX="0.59564208984375" rotY="0.66677856445313" rotZ="41.218505859375" color="3 1 0 0"/>
-
A good point to start would be the following page: https://wiki.multitheftauto.com/wiki/Ser ... the_server If you've followed the steps and need further assistance, I'll be glad to help. If you do, please mention what operating system your VPS is running. For instance Windows or Linux: When you sign in from Putty, it tells you which Linux distribution you're on and that's something else that would be of help.
-
simply look at this function onResourceStart ( ) sound = playSound ( musicStream, true ) end it says right here, when the resource starts (for example because a player just joined), then playSound. so just remove that part and you're good oh also to prevent errors/warnings you should also remove the following addEventHandler ( "onClientResourceStart", resourceRoot, onResourceStart )
-
oh I'm gonna reply anyway because I read the question and then I felt it so here we are. So if anyone has this issue that a gui element only shows for part of a second, then you probably haven't put your dx functions in the client's onClientRender event
-
san fierro + big down town district + interesting harbor + the university campus that nobody ever seems to do anything with seems fun + quaint architecture + silicon valley is in san fransisco
-
could be or because all those objects combined use too much RAM or processing power
-
It may be because the distance parameter is too high and it trips its ass out (when it exceeds the bytes reserved for it, it becomes a negative value and then positive again and then negative, it's a shady area Example) Try using 300 in 10000000's stead, that seems to be pretty acceptable:
-
I guess replace the txd or even better use this: https://wiki.multitheftauto.com/wiki/DxDrawImage3D but I have no idea how the latter works and I've never seen it in use but I can only figure that it's hella awesome But to eleborate on the txd way, the way inferior way that was acceptable until the spawn of that function fantastico, use mta map editor's get real world object tool (I believe the most right one at the bottom left set of tools) and then edit that txd using the tools gta modders use
-
maybe your friend can open yours nah but for real there are guys on here that will open your ports by team viewer or whatever maybe they'll reply at some point or maybe PM dzek, who's a GM on here and has something about this stuff in his signature
-
Oh yeah but all dlink product configs look alike Even their web security cameras look exactly like router configs Just use a different guide for a dlink router, for instance DSL-2680, most of the things to click on will match up http://portforward.com/english/routers/ ... t_Auto.htm (In general, just choose a router model that's close to yours. Why would manufacturers make an entirely different GUI for each model?)
-
function warpToLVStunt ( source, commandName ) setElementPosition ( source, 1234 , 1234, 1234 ) -- replace those 1234s with respectively the x, y and z coordinates of your stunt park. -- to get the position, one way would be to make another command that outputs your getElementPosition end addCommandHandler ( "lvstunt", warpToLVStunt )
-
mta's object streaming feature makes it that far away objects aren't loaded in clients memory to save system resources i don't think there's an option for letting certain objects always be visible, however using the setLowLODElement function you can set a collisionless low resolution alternative to your objects, allowing a higher draw distance setLowLODElement()
-
keeping in mind that different people use different resolutions, use the function guiGetScreenSize() say you want that area to be 300px wide and 70px from the bottom, then you use x,y=guiGetScreenSize(); elementPositionX = x / 2 - 300 / 2; elementPositionY = y - 70; guiCreateLabel ( elementPositionX , elementPositionY , 300, 70, "at emt they serve it up", false ); and your final question: the wiki most of the time i look it up too just to answer a question here
-
So this happens on only one client, right? Then I think it seems pretty definitive and they/you should defragment the entire drive. Just to be clear this does not mean formatting/deleting Like so: or Though by default Windows 7 automatically defragments every now and then. Are you on a different OS than Windows 7? Or are you on 7 but could the automatic defragmentation be disabled? If yes to both questions then this should probably fix it.
-
Sure they can allow it but it's a gigantic security risk Hackers need to be successful once and they have all the data of possibly all websites hosted by that user Disallowing access from anything but localhost is not a bad thing
-
argh warum machst du drie topics mit dieselbe frage da sind schön zwei antworter in diese topics: viewtopic.php?f=108&t=50843&p=495992#p495992 viewtopic.php?f=15&t=50842&p=495991#p495991