xXGhostXx

Members
  • Content Count

    213
  • Joined

  • Last visited

Community Reputation

1 Neutral

About xXGhostXx

  • Rank
    Chump
  • Birthday 10/01/1990

Details

  • Gang
    Bloodz
  • Location
    Los Santos
  • Occupation
    San Fierro

Recent Profile Visitors

612 profile views
  1. Thanks for your help ❤️
  2. hey guys what is problem in my this code ? addEvent("getTicket",true) addEventHandler("getTicket", root, function() setElementInterior(client, 1) setElementPosition(client, 1.76953125 ,28.478515625 ,1199.59375) outputChatBox("#00ff00You are now in air plane!", client, 255, 255, 255, true) setTimer( function() setElementInterior(client, 0) setElementPosition(client, 1685.8193359375 ,-2237.5400390625 ,13.546875) outputChatBox("#00ff00Welcome To Los Santos!", client, 255, 255, 255, true) end, 60000, 1) end) I buy a ticket and i teleport to air plane but after 1 min i'm not going to los santos !
  3. hey guys . how can i get combo selected text ?
  4. Hello How to freeze gui window ? Please give me function name ! tnx
  5. You can create for me with colshape ? I want table
  6. Not work ! I want table for open the gui panel in my position !
  7. xXGhostXx

    [HELP] Table

    Hi I want table for when player come to my positions show the chat box ! like this : tables { {x,y,z}, {x,y,z} }
  8. bro you can make example for this function ?
  9. Hi . I making ban system and i have a problem for make ban time ! i use mySQL ! and i created banBy - banReason just i cant make ban time ! like : /aban <Name> <Time> <Reason> Whats your idea for make ban time ? i want admin press day number and player ban from the server when player ban time is finished player can go to server
  10. Hello . Whats function for on client dx draw image click ? like this : onClientGuiClick for gui
  11. Fixed, but doctor is send request for me but i cant accept request
  12. Hi everyone . What is problem ? I want doctor use /heal and send request to player, player use /aheal and accept heal and set element health to 100 but if not request say "You have no pending request." Please fix it ! function darmanKardan (thePlayer, command, player) local taraf = getPlayerFromName(player) if player then setElementData(taraf,"healrequest", pending) outputChatBox("#00ff00The doctor is willing to heal you. Do you accept?", taraf, 255, 255, 255, true) else outputChatBox("#ff0000Syntax: /heal <Name>", thePlayer, 255, 255, 255, true) end end addCommandHandler("heal", darmanKardan) function acceptHeal (thePlayer, command) local requestStatus = getElementData(thePlayer, "healrequest") if (requestStatus = "pending") then setElementData(player,"healrequest", unpending) setElementHealth(player, 100) outputChatBox("#00ff00You have been healed by the doctor.", thePlayer, 255, 255, 255, true) else outputChatBox("#ff0000[Error]: #ffffffYou have no pending request.", thePlayer, 255, 255, 255, true) end end addCommandHandler("aheal", acceptHeal)
  13. Thanks men ! Do you have skype ?
  14. I added sound for open box ! But sound played for all players ! How to add sound for the Player ? Server : function bazKardanBox (thePlayer, command) local account = getPlayerAccount(thePlayer) local box = getAccountData(account, "pBox") local jayeze = math.random(50000,300000) if ( box and box > 0 ) then triggerClientEvent("sedabox", root) givePlayerMoney(thePlayer, jayeze) setAccountData( account,"pBox", box-1) outputChatBox("#FF00FF[Pro-Box]: #ffffff"..getPlayerName(thePlayer).." Az Box Mablagh #FF00FF$"..jayeze.." #ffffffBe Dast Avord!", root, 255, 255, 255, true) else if box == 0 then outputChatBox( "#ff0000[Error]: #ffffffShoma Box Nadarid!", thePlayer, 255, 0, 0,true ) else setAccountData( account,"pBox", 0) outputChatBox( "#ff0000[Error]: #ffffffShoma Box Nadarid!", thePlayer, 255, 0, 0,true ) end end end addCommandHandler("openbox", bazKardanBox) Client : addEvent("sedabox",true) addEventHandler("sedabox",getRootElement(),function() local sound = playSound("Data/box.wav") setSoundVolume(sound, 5.0) end)