-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
There was a topic about this, here: viewtopic.php?f=105&t=46699&hilit=+removeWorldModel
-
TAPL means, post the script here please.
-
ok, you say you opened up the ports, but you still need to check if the server could access them, type in "openports" in the server/console or visit MTA's Port Checker Site: https://nightly.multitheftauto.com/ports/
-
Thanks for noticing, I'll change now
-
I know, If he brings down or close the image, then this code would come in: for _,v in ipairs(getElementsByType("player"))do If getElementData(v,"Image") then destroyElement(getElementData(v,"Image")) end end
-
You can't stop respawn on maps unless you're using a gamemode, you could edit the respawn setting in the meta.xml.
-
ok, if you're planning to put skins/pics on a gui then you would need to use guiCreateStaticImage else if you want to make others see the image that you see, then just use for _,v in ipairs(getElementsByType("player"))do local image=guiCreateStaticImage(x,y,width,height,"theimage.png",false) --create image setElementData(v,"image",image) --this is if you want to delete it after end
-
use: guiSetVisible(theWindow,false) this if you're planning to make the window visible again or use: destroyElement(theWindow) to destroy the window
-
Most people play MTA in windows, just wait until Towncivilian come back on.
-
i m administrator bro...plz help me somehow. Sometime you are the Administator, but for windows 7, they take it as a security type, so, automatically, they try running it as a normal user.
-
Make sure you run the Program as Administator.
-
no, there's only 2 addCommandHandler vars, one is for the command name and the other is for the function name, so what ever the player types in after the command name is a var meaning it's the vehicleModel. Example: addCommandHandler("hey",function(source,_,sentence) outputChatBox(getPlayerName(source).." said Hey, "..sentence) end) /hey wats up MTA Community? Jaysds1 said Hey, wats up MTA Community?
-
Please read this: viewtopic.php?f=15&t=43425&hilit=+removeWorldModel
-
Found the problem!!! try this: local textrules = "Rules." local textinfo = "Information." local infoWindow = guiCreateWindow(0.1988,0.2317,0.6363,0.6817,"info",true) guiWindowSetSizable(infoWindow,false) guiSetAlpha(infoWindow,1) local ino_ImG = guiCreateStaticImage(0.0177,0.0489,0.9646,0.2958,"ino.png",true,infoWindow) local buttonRules = guiCreateButton(0.2811,0.6777,0.1324,0.1653,"Rules",true,ino_ImG) guiSetAlpha(buttonRules,1) guiSetFont(buttonRules,"default-bold-small") local buttoninfo = guiCreateButton(0.5845,0.6694,0.1446,0.157,"Information",true,ino_ImG) guiSetAlpha(buttoninfo,1) guiSetFont(buttoninfo,"default-bold-small") local memoInfo = guiCreateMemo(0.0177,0.3521,0.9646,0.6259,textinfo,true,infoWindow) --forgot to change to true guiMemoSetReadOnly( memoInfo, true ) local memoRules = guiCreateMemo(0.0177,0.3521,0.9646,0.6259,textrules,true,infoWindow)-- same here guiMemoSetReadOnly( memoRules, true ) guiSetVisible( memoInfo, false ) guiSetVisible( memoRules, false ) guiSetVisible( infoWindow, false ) addEventHandler ( "onClientGUIClick", guiRoot, function ( ) if ( source == buttonInfo ) then guiSetVisible( memoInfo, true ) guiSetVisible( memoRules, false ) elseif ( source == buttonRules ) then guiSetVisible( memoRules, true ) guiSetVisible( memoInfo, false ) end end ) function infoShow ( ) guiSetVisible ( infoWindow, not guiGetVisible ( infoWindow ) ) showCursor ( guiGetVisible(infoWindow) ) --let's see if the gui is visible end bindKey ( "F1","down", infoShow ) you forgot to change the false to a true for the memo relative
-
ok, I'll try making it for you BTW, which one is for Rules and Info?
-
ok, Do you still have the gui up on your local server? if you do, please take a screenshot of it and post it here. oh, BTW, it's the same for my local server
-
I think the memos are miss coordinated What did you use to make this gui?
-
ok, try this now: local textrules = "Rules." local textinfo = "Information." local infoWindow = guiCreateWindow(0.1988,0.2317,0.6363,0.6817,"info",true) guiWindowSetSizable(infoWindow,false) guiSetAlpha(infoWindow,1) local ino_ImG = guiCreateStaticImage(0.0177,0.0489,0.9646,0.2958,"ino.png",true,infoWindow) local buttonRules = guiCreateButton(0.2811,0.6777,0.1324,0.1653,"Rules",true,ino_ImG) guiSetAlpha(buttonRules,1) guiSetFont(buttonRules,"default-bold-small") local buttoninfo = guiCreateButton(0.5845,0.6694,0.1446,0.157,"Information",true,ino_ImG) guiSetAlpha(buttoninfo,1) guiSetFont(buttoninfo,"default-bold-small") local memoInfo = guiCreateMemo(0.0177,0.3521,0.9646,0.6259,textinfo,false,infoWindow) guiMemoSetReadOnly( memoInfo, true ) local memoRules = guiCreateMemo(0.0177,0.3521,0.9646,0.6259,textrules,false,infoWindow) guiMemoSetReadOnly( memoRules, true ) guiSetVisible( memoInfo, false ) guiSetVisible( memoRules, false ) guiSetVisible( infoWindow, false ) addEventHandler ( "onClientGUIClick", guiRoot, function ( ) if ( source == buttonInfo ) then guiSetVisible( memoInfo, true ) guiSetVisible( memoRules, false ) elseif ( source == buttonRules ) then guiSetVisible( memoRules, true ) guiSetVisible( memoInfo, false ) end end ) function infoShow ( ) guiSetVisible ( infoWindow, not guiGetVisible ( infoWindow ) ) showCursor ( guiGetVisible(infoWindow) ) --let's see if the gui is visible end bindKey ( "F1","down", infoShow )
-
oh, ok, try the script again please
-
ok, change this script: 'server\mods\deathmatch\resources\[gamemodes]\[race]\race\modes' in this script on line 36, change the 1 to a 0, example: if getActivePlayerCount() <= 1 then
-
There is no easy/hard way, it depends on what you're doing.