Jump to content

xXGhostXx

Members
  • Content Count

    257
  • 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

1,070 profile views
  1. No i want when use this function player name field if several similar names are found, they should be in the table.
  2. Hello, i want find player with similar names and print names in a list ! My find player function : function findPlayer( partofname ) local player = getPlayerFromName ( tostring(partofname) ) if player then return player end for _, player in pairs( getElementsByType 'player' ) do if tonumber(getElementData(player,"id")) == tonumber(partofname) then if getElementData(player, "loggedIn") == true then return player end end end for _, player in pairs( getElementsByType 'player' ) do if string.find ( string.gsub ( getPlayerName ( p
  3. 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 .
  4. Fixed, thanks !
  5. Hi guys. How can i customize default name tag in mta sa. i want add player id under player name. I want this :
  6. Does not count, because i want know. for example i use elementData. Please answer me.
  7. Hello guys. I want idea for get the largest player money on server. Please help me.
  8. 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.
  9. I want on player join in my server when data loading play this html page
  10. 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)
  11. Hi guys. How can i make loading screen on player loading server data like FiveM ?
  12. Your code is working but i want add allowing characters in table.
×
×
  • Create New...