-
Posts
642 -
Joined
-
Last visited
Everything posted by Lloyd Logan
-
So guiSetVisible when button buLogin is clicked?
-
Hi, I created a login panel with dxDrawImage in the GUI panel, when i click login, all elements are destroyed, which is what i want with destroyElement, but the dxDrawImage is there? How, when i press login (buLogin) can i get rid of dxDrawImage? Thanks Lloyd.
-
I've noticed the problem : engineImportTXD(dff, 580) line 3 Instead of dff, it should be txd. Thanks tho
-
Its all vehicles if thats what you mean?
-
Hey, I put in a vehicle mod into my sercver, but the interior is a kind of cream colour ONLY. http://imageshack.us/photo/my-images/822/23571981.png/ Script function replaceModel() txd = engineLoadTXD("stafford.txd", 580 ) engineImportTXD(dff, 580) dff = engineLoadDFF("stafford.dff", 580 ) engineReplaceModel(dff, 580) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) Any ideas?
-
Oh jeez, I can't get that out my head now
-
Merry Christmas to you all! Have a happy New Year, I hope Santa is good you! And again Merry Christmas! Lloyd Logan
-
Thanks mate!
-
Hey guys, I was wondering how to edit values on a my SQL row, like if it said username, adminrank, money etc. How would I edit the values of these though a script ingame? e.g /changename Lloyd Callum? Thanks Lloyd
-
Hmm, I tried through console but nothing? Aww, nevermind Anyways, is the a way through script to make the player admin if the server is using mysql?
-
Sorry, it still stays, "no account name specified"
-
Thanks! is there anyway to do this through a script?
-
Hey Guys, I used the aclGroupAddObject server function, so obviously this is the script function giveAdminRights (playerSource, commandName, accountName) --add the function giveAdminRights and specify its arguments if accountName then --if there was an accountName entered then aclGroupAddObject (aclGetGroup("Admin"), "user."..accountName) --add an ACL object using the form "user.[accountName]" to the ACL group "Admin" outputChatBox ("Account '"..accountName.."' succesfully added to the admin group", playerSource) --output a notification to the player who entered the command that the acocunt was successfully added else --else output an error message and the correct syntax of the command to the player who entered it outputChatBox ("No account name specified.", playerSource) outputChatBox ("Correct syntax: /giveAccountAdminRights [accountName]", playerSource) end end addCommandHandler ("giveAccountAdminRights", giveAdminRights) But when i type, /giveAccountAdminRights lloydlogan it says invalid name specified or says nothing at all... Its has acl rights... and is giving no errors? Any solution Thanks Lloyd Logan
-
Sorry, its still not going away:(
-
Hey, i added this but it is still there when i login?
-
Hey Guys, How do make it so that during a login screen after the login button is click the dxDrawText will dissapear? At the moment when i click login it remains there? addEventHandler("onClientRender", root, function() dxDrawText("Welcome to ...", 131, 29, 846, 76, tocolor(255, 0, 0, 255), 1, "bankgothic", "left", "top", false, false, true, false, false) dxDrawText("Please Login Below", 490, 349, 724, 366, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) end ) Thanks Lloyd
-
Thanks Castillo!
-
Hey guys, whats the exact path to the Freeroam scripts, e.g SetSkin, where is the script for that from the freeroam gui? C:\Program Files (x86)\mtasa\server\mods\deathmatch\resources\[gameplay] Some thing along those lines? ^^ I found i once but forgot Thanks Lloyd
-
I stopped scripting for about 3 months, i feel i have forgotten everything function mycoords (thePlayer, command) local x, y, z getElementPostition ( thePlayer ) outputChatBox ( "X pos " .. x .. " Y pos " .. y .. " Z pos" .. z ".") end addCommandHandler("mycoords", mycoords) attempt to call global 'getElementPosition' Should be easy for you guys!
-
I'm not retarded(though i am beggining to think I am), Nothing is coming up, "say hello world" but nothing!
-
Strange. Put screenshots in if you still have this problem. Thank you so so much for the information, now by any chance do you know how to do it?
-
I tried that but nothing comes up
-
Hey, (Long Time eh?) So i was wondering if it is possible to talk through console in game (¬`) above tab) like e.g /say Hey, It isn't my server. Is it possible?
-
Ah, okay thanks, may save alot of trouble in the future!
-
Thanks alot Dev, It worked All the Best Lloyd
