Jump to content

Jonty

Members
  • Posts

    8
  • Joined

  • Last visited

About Jonty

  • Birthday 03/05/2000

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Jonty's Achievements

Newbie

Newbie (4/54)

1

Reputation

  1. Hello, so i have made a login script and was wondering how i would get all the other resources to only show up after the user has logged in since i have some scripts that pop up before you have even logged into the server. is there a way to delay or force them to pop up after the user has logged in?
  2. it works very well. Thank you very much for me help
  3. ah thanks, But I would rather code it myself and learn Lua while I go along. But thank you so much for the suggestion.
  4. I've tried that and it still seems to not work. Got anything else.
  5. Hello I've been making a GUI first time doing this and I've got the code to work but I've tried using a button to hide the GUI after it is clicked. Can anyone help me, please? -- Made by Jonty / First Lua code for Tables. Skins = { "Cj - 0", "", "" } Vehicle = { "", "" } function setupSkinSelection (theResource) -- Creats GUI window spawnScreenMenu = guiCreateWindow ( 0.15, 0.33, 0.7, 0.34, "Find the ID's you want!", true ) -- Button spawnScreenOKButton = guiCreateButton ( 0.4, 0.85, 0.20, 0.15, "Done", true, spawnScreenMenu ) guiWindowSetMovable ( spawnScreenMenu, false ) guiWindowSetSizable ( spawnScreenMenu, false ) spawnScreenGridList = guiCreateGridList ( 0, 0.1, 1, 0.9, true, spawnScreenMenu ) guiGridListSetSelectionMode ( spawnScreenGridList, 2 ) guiGridListAddColumn ( spawnScreenGridList, "Skins", 0.3 ) guiGridListAddColumn ( spawnScreenGridList, "Vehicle", 0.3 ) for key,skinName in pairs(Skins) do local row = guiGridListAddRow ( spawnScreenGridList ) guiGridListSetItemText ( spawnScreenGridList, row, 1, skinName, false, false ) end -- Rows for the GUI window row = 0 for key,skinName in pairs(Vehicle) do guiGridListSetItemText ( spawnScreenGridList, row, 2, skinName, false, false ) row = row + 1 end end -- Command to launch the GUI addCommandHandler('IDSelection', function() setupSkinSelection(true) showCursor ( true ) end ) addEventHandler('onClientGUIClick' , spawnScreenOKButton, function ( ) if ( source == 'Done' ) then guiSetVisible (spawnScreenMenu , false) showCursor ( false ) end
  6. When is this going to be out to the public?
  7. that's really nice. they are rally good Resources which i enjoy playing with on the server.
  8. JohnFlowers Freeroam Server was created and founded by JohnFlower / CaveJohnson and was opened in 2010 . Since then it has been known to be a really fun Freeroam Server with just some rules, where players are given the option to freely roam around the city if they want or not. we do not force people to keep it to freeroam some people like to roleplay inside the game while others like to have a little deathmatch from time to time. General Information ☉ Forums : https://ilypetals.net/forum/ ☉ MTA Server IP : mtasa://37.187.79.138:22003 ☉ Join our discord : https://discord.gg/gGCQRXH Server Rules We only have one rule and that is DON'T BE A Cu*t !! Server Scripts Most Scripts are coded by JohnFlower or Offroader.
×
×
  • Create New...