-
Posts
1,312 -
Joined
-
Last visited
Everything posted by KariiiM
-
Awesome
-
Hey, look what i am going to do and try to learn from that First of all you've to get your screen "Resolution" ,if you created the gui in another resolution and tried to do your current resolution ,it won't works as it must be like,and it will shows for you in another place,anyway --put here your resolution, for example if it's 800x600. local screenX =800 --put 800 here local screenY = 600 -- put 600 in screenY local sx, sy = guiGetScreenSize() local x, y = sx/screenX, sy/screenY --Now let's add them in the gui: GUIEditor.staticimage[1] = guiCreateStaticImage(217*x, 79*y, 647*x, 558*y, "panel.png", false) I thinks it's easy to understand and easy way.
-
I thinks he wants a good way to make his server downloading files too fast
-
There's a problem in this new release,everything working fine but when you click on any Image linked with HTML URL to open another website,you'll be automaticly CRASHED out of MTA.
-
Also, you've error in login,it doesn't let me get in to helps you,call me later when you fix it
-
Send me IP in PM ,and i'll try to helps
-
These Errors/Warnings shows the Admin panel is bugged But I also replaced it with old one but still it is bug , Any Solutions ? I have no idea about how you added them or what you added on it ,small details are importants in like this situation,try to use the debug, check which lines is bugged and try to fix it out or put them here. But the debug shows another things,if everythings is okay so why he should sends these errors?
-
ACL is okay,the problem is in your Admin-Panel
-
These Errors/Warnings shows the Admin panel is bugged
-
I have no skype in my computer at this moment,If you're sure the admin panel that you added isn't bugged then be sure problem is in the ACL,you've to add Rights on it
-
I didn't get your problem,explain more with screenshot or with the full message of Debug, if you tried to changes the Admin panel maybe you missed/broke something on it thats why you get these errors i think.
-
You've to attach your GUI Login in the edit For example: userBox = guiCreateEdit(476, 361, 334, 29, "", false,myWindow)
-
It must be defined as localPlayer setCameraTarget(localPlayer)
-
Ah sorry i didn't take attention, try this and tell me setCameraTarget(localPlayer) --Client side
-
I think i got your point,you've to use setVehicleRotation Check the example in wiki https://wiki.multitheftauto.com/wiki/SetVehicleRotation
-
It just set the size of your Window like the example in Wiki but it not always needed
-
Making memo editable for certain people and saving it
KariiiM replied to scaryface87's topic in Scripting
Try something like that, If you want to saves the memo even the resource restarted,you need to use either SQL, MySQL or XML. --client side: window= guiCreateWindow(264, 189, 355, 294, "", false) guiWindowSetSizable(window, false) memo = guiCreateMemo(14, 25, 331, 259, "", false, window) guiSetVisible(window,false) client = getLocalPlayer() function editMemo() guiSetText ( memo, "" ) triggerServerEvent ("memoEditable",client) end --server side: addEvent( "memoEditable", true ) addEventHandler("memoEditable", root, function () local account = getPlayerAccount(player) if not account or isGuestAccount(account) then return end local accountName = getAccountName(account) for k,v in ipairs ( { "Console","Owner" } ) do --You can change them by your ACL Admin names if isObjectInACLGroup ( "user." .. accountName, aclGetGroup (v) ) then end end end) -
It must works in Windows 10 also
