Jump to content

Cannonball

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by Cannonball

  1. Try this: function rejestracja ( player, username, password, email) local account = getAccount ( username, password ) if ( account ~= false ) then if (logIn ( player, account, password ) == true) then ------------4 triggerClientEvent ( "Zamykanie", getRootElement()) end else account = addAccount ( username, password ) setAccountData ( account, "email", email) if (logIn (player, account, password ) == true) then ----------10 triggerClientEvent ( "Zamykanie", getRootElement()) end end end addEvent( "rejestracja", true ) addEventHandler( "rejestracja", getRootElement(), rejestracja )
  2. Try this: <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.Sydnej" /> <object name="resource.rejestracja" /> </group EDIT: Make sure you stop your server, edit the ACL.xml and THEN start your server again. The ACL file would reset itself to the value the console is holding otherwise.
  3. Hiya! I have been fiddling around with guiCreateScrollPane and just cant get it to work properly. I have this atm: SoDScrollPane = guiCreateScrollPane( 0.1, 0.1, 0.5, 0.9, true, tabTrophySOD ) guiCreateStaticImage( 0.03, 0.3, 0.25, 0.25, "img/trophy.png", true, SoDScrollPane ) guiCreateStaticImage( 0.03, 0.5, 0.25, 0.25, "img/trophy.png", true, SoDScrollPane ) guiCreateStaticImage( 0.03, 0.7, 0.25, 0.25, "img/trophy.png", true, SoDScrollPane ) guiCreateStaticImage( 0.03, 0.9, 0.25, 0.25, "img/trophy.png", true, SoDScrollPane ) There's only no scrollbar coming, and just puts the 4 images above eachother. How would I set the heights for the images? How would I even get the scrollbar in it? If I am correct, guiCreateSrollPane is a invisible window, wich should create a scrollbar in itself once its getting filled with items such as staticimage. But its not working as I want it to, any help?
  4. in the folder cfg/messages.lua you can change your tag.
  5. Thats correct. To add items, open up phpmyadmin -> store_items and add new entry's. Objects will popup @ GUI in shops that way.
  6. Thanks mate. Yes indeed there are a few lil bugs, and even on the bright side, code is done very simply. So edditing is not a problem haha. Have fun improving it, because the one I continue'd after this one, is way more improved haha!
  7. Alright, this story makes no sence at all lawl ( No offense:P) Here's what you have to do, it all depens on where you have your MTA server, and you MySQL server. Lets say, both are on the SAME computer. You will have to have Xampp or Apache ( I recommend Xamp, but meh Lol) http://www.apachefriends.org/en/xampp.html Install it with MySQL. Then after its completely installed and done, go to: http://localhost/phpmyadmin In there, you will have to create a database. Lets say we call it "mtadatabase". Then inside the mtadatabase you will have to execute the SQL file that i've added inside the zip. Your CFG would like this: host : "localhost" name : "XX3" password : "*secret*" database : "mtadatabase"
  8. Look there's nothing wrong with this script, all you HAVE to do is add yourself to the system by going: /adduser YourName Example: /adduser Cannonball 4 4: Admin 3: Moderator 2: Member 1: Registered The panel will never open for you (By F4) if you are not in the system. Run the SQL file, change the cfg.lua. Go in server and add yourself.
  9. I have done some modifications to this script, for example, ive added this mode as a gamemode inside my freeroam, its completly modified and its called "Survive Or Die ( SOD )" You can check it out in my server, not to make commercial or summit for it, but just to get opinions! Server: 78.129.164.71:22003 To get in the mode -> F1 -> Gamemode -> SoD
  10. Its friday! Week isnt passed yet lol. Release: https://community.multitheftauto.com/index.html?p ... ils&id=744 Unfornatly there are some bugs still, some things might not work. And even worse news; I will not continue this usersystem on mta community. You are free to edit/fix stuff. Aslong my name can keep its credits. Be sure to execute SQL file in SQL.zip included. And set settings in cfg/cfg.lua!!
  11. Is there any way to make specific town crawled by Zombies? Its not spawning around the players by distance. But I want to set all the zombies into 1 specific lil town. Whats the best way to do that?
  12. The idea was not to use a login, sincerly it detects you automaticly on Serial. I want to have as less hassle as a player can have. All this loggin in, its useless really and more for eye-candy for the serverowner. AutodetectionSerial ftw. Release will be next week though.
  13. Thanks! I will adjust! And to be honest, I have made another video bout sending message, and the shop (And some other crap lol ) NOTE: At the end, you'll see me using "Place Item", the gui is NOT done yet, and you can only move Z axis with mouse scroll (Soon you'll be able to move all axisse's )
  14. I think you've eddited your post, the idea about adding kills/deaths is probobly a good idea yea. I could release it, but the problem is, the inventory isnt done atm. Well, the dropping, using items works perfeclty, but im currently working on "Placing Item" so that only members can actually mapedit abit. ( So basicly, im making a minimapeditor ) What you saw in the video, is exactly the system im representing here above I made that video. And like kevin11 said, it might be a good idea to release it today, but theres still a bunch to do really.
  15. What is it? This is a usersystem wich contains all sorts off things, userpanels, moderator panel, inventory and keep on going. You can fully modify the ranks to add your own styles. (Like for RPG's, Cop, Firedepartment or w/e) The system is fully based on a GUI! What does this usersystem contain? - Name tags (Example: [Admin] Cannonball: Hello! , and this could be any color you want ) - Ranks ( You can add yourself aswell, 4: Admin | 3: Moderator | 2: Member | 1: Registered ) - User panel, wich can: • Save skin ( Sets on join ) • Save position ( Sets on join ) • Set position ( Sets saved position ) • Open PM window, inventory window • Able to change name, wich the database will save (Fully GUI’ed) - Personal message panel, wich can: • Recieve messages ( Fully GUI’ed, no chatbox messages ) • Send messages • Delete messages • Reply to messages • Sliding out animation from the userpanel - Inventory panel, wich can: • View items that Currently are in your inventory • Drop items ( With confirmation ( Example: “Are you sure you want to drop?”) ) • Sell Items ( With confirmation( Example: “Are you sure you want to sell?”) ) • Use items ( Currently only weapons ) • Place items and save them on the map (Smal mapeditor for Members! ) (NOT DONE) - Store, where you can: • View items • Buy items - Moderator panel, wich can: • Mute • Kick • Ban • Kill • Spectate • Bomb • Set sky color • Zap • Reset sky color Release: Not yet unfortantly, since its still on a beta and has to be debugged ( Although there are no errors so far ) Review: NOTE: I suggest you watch it on 480p, it gives the best view on the userpanel And further on.. Why am I showing this? Well im just curious how people think about this system. Questions are welcome, suggestions are even more! I can always use fresh idea's to even improve this window. I had alot off help from the IRC aswell
  16. Hey, you mean something like I did at my DKR server? Youtube vid: https://www.youtube.com/watch?v=AU4TTem2iXs Attach FTW!
  17. Now it doesnt even work at mine lol. Putted in that line @ freeroam.zip at the meta.xml resource does restarts, but wont build etc
  18. Now it doesnt even work at mine lol. Putted in that line @ freeroam.zip at the meta.xml resource does restarts, but wont build etc
  19. Thats the problem, if I add that line into the meta.xml in the KIHC folder, it fails me on it. If I remove it, I can start it, but not use the whole script.
  20. Thats the problem, if I add that line into the meta.xml in the KIHC folder, it fails me on it. If I remove it, I can start it, but not use the whole script.
  21. Yah, I grabbed all the files outta the KIHC.zip, place them in a folder named "KIHC". Then I looked @ admin panel, gives me "Failed To Load". When I remove the its gone, but the resource is gone too.
  22. Yah, I grabbed all the files outta the KIHC.zip, place them in a folder named "KIHC". Then I looked @ admin panel, gives me "Failed To Load". When I remove the its gone, but the resource is gone too.
  23. It doesnt even wanna start at mine, it keeps saying Failed to load, and when I removed the line that we had to put in the meta.xml, its loadable, but not working, what am I doing wrong? I unzip the file's into one map, and edit the meta.xml.
×
×
  • Create New...