xXGhostXx

Members
  • Content Count

    255
  • Joined

  • Last visited

Community Reputation

1 Neutral

About xXGhostXx

  • Rank
    Red-Headed Stepchild
  • Birthday 10/01/1990

Details

  • Gang
    Bloodz
  • Location
    Los Santos
  • Occupation
    San Fierro

Recent Profile Visitors

970 profile views
  1. xXGhostXx

    [HELP] Table

    Hi guys. What's problem in my code ? local Weapons = { { 22, 24, 25, 26, 27, 28, 29, 30, 31, 34 }, } function getWeaponSlotFromID (Weapon) local slot = 0 for i=1,10 do if Weapons[1][i] == Weapon then slot = i end end return slot end I want to give a weapon id and get the slot in the table .
  2. Fixed, thanks !
  3. Hi guys. How can i customize default name tag in mta sa. i want add player id under player name. I want this :
  4. Does not count, because i want know. for example i use elementData. Please answer me.
  5. Hello guys. I want idea for get the largest player money on server. Please help me.
  6. Hi guys. I trying to make html loading page but i don't know how can i load html page on player connect to server for when loading server data. like: FiveM Guys please make simple code for this with html. thanks.
  7. I want on player join in my server when data loading play this html page
  8. Don't work. Meta: <meta> <script src="Loading.Lua" type="client" /> <file src="index.html" /> <download_priority_group>1</download_priority_group> </meta> Client: local screen = {guiGetScreenSize()} local page = "http://mta/local/index.html" function downloadGUI() browser = guiCreateBrowser(0,0,screen[1],screen[2],true,true,false) --display the Browser bg = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", bg, function() loadBrowserURL(source, page) end) end addEventHandler("onClientRender", root, downloadGUI) function checkTransfer() if isTransferBoxActive() == true then setTimer(checkTransfer,2000,1) -- Check again after 2 seconds else removeEventHandler("onClientRender", root, downloadGUI) end end addEventHandler("onClientResourceStart",resourceRoot,checkTransfer)
  9. Hi guys. How can i make loading screen on player loading server data like FiveM ?
  10. Your code is working but i want add allowing characters in table.
  11. Working because i want add allowing characters in table.
  12. Hi guys. I try to use string.find with table. characters = { ["a"] = true, ["b"] = true, ["c"] = true, } function test (username) if string.find(username, characters[username]) then else outputChatBox("This is invalid character!",source) end end What is my problem ?