Jump to content

yayo

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About yayo

  • Rank
    Square

Details

  • Gang
    RR>Scripter
  1. Sorry for the noob question, should have looked more I found it. guiGridListGetSelectedItems
  2. Ok, so I have my menu, gridlist, and "OK" button all setup for my clothes store, but I cannot seem to figure out how to make it so that when you select your clothes by clicking each item on the gridlist, and then hit the OK button, it will give you what is selected on the gridlist. If you understand my problem please help me out. Heres my code if it helps... CLIENT shirts = { "blackwifebeater" "whitewifebeater" "whiteundershirt" "redplaid" "greent" "oranget" "basketball" } pants = { "greencamo" "greycamo" "greyreg" "greenreg"
  3. Figured it out, thanks.
  4. sooo, from client.lua and server.lua what should i fix? CLIENT cobrasmarker1 = createMarker(1020.6630859375, 2257.6728515625, 10.8203125, "cylinder", 1.0,255,0,0,150) function createWindow() menu = guiCreateWindow(238,177,315,171,"I got some shit for you, what you want?",false) sellbat = guiCreateButton(253,210,127,118,"Bat(2$)",false) sillknift = guiCreateButton(411,211,127,118,"Knife(100$)",false) guiSetVisible ( menu, true ) end addEventHandler( "onMarkerHit", cobrasmarker1, createWindow) function destroyWindow () guiSetVisible ( menu, false ) end addE
  5. [code=text]cobrasmarker1 = createMarker(1020.6630859375, 2257.6728515625, 10.8203125, "cylinder", 1.0,255,0,0,150) function createWindow() GUIEditor_Window = {} GUIEditor_Button = {} menu = guiCreateWindow(238,177,315,171,"I got some shit for you, what you want?",false) sellbat = guiCreateButton(253,210,127,118,"Bat(2$)",false) sillknift = guiCreateButton(411,211,127,118,"Knife(100$)",false) guiSetVisible ( menu, true ) end addEventHandler( "onMarkerHit", cobrasmarker1, createWindow) function destroyWindow () guiSetVisible ( menu, false ) end
  6. Can someone please explain to me how I can use XML to save data for my Gang System? I don't want to use MySQL yet, I just want to know how to do it with XML. Can someone please explain this? It will help a lot :DDD
  7. Or destroyElement( blipname )
  8. Never tried it, but if a blip is an element use... setElementAlpha(blipname, 0) can be 0-255.
  9. yayo

    Need XML help...

    Basically im trying to create a Gang System, with function like Create/Remove Game, Invite/Kick Player, Ivnvite/Kick leader, etc. Please someone help me out.
  10. Can someone help me to understand how to store things like Gang Members names, gang names, etc with XML instead of MySQL? Any tutorials, explanations, etc would be great!
  11. Wassup everyone, my first post on the forums :DD Anywho....My gunshop script isn't working.When I click the button, nothing happens, even though, it should. SERVER STUFF ammunationout = createMarker(2159.5419921875,943.201171875,10.8200125,'cylinder',2.0,255,0,0,150) ammunationin = createMarker(285.9794921875, -86.7666015625, 1001.5228881836,'cylinder',2.0,255,0,0,150) setElementInterior( ammunationin, 4) theMarker = createMarker ( 291.8251953125, -83.2900390625, 1001.515625, "cylinder", 1.5, 255, 255, 0, 255 ) setElementInterior( theMarker, 4) function gunshopAOUT( source ) -- def
×
×
  • Create New...