Ahmed Ly

Members
  • Content count

    1,098
  • Joined

  • Last visited

Community Reputation

76 Popular

About Ahmed Ly

  • Rank
    Banger
  • Birthday 27/12/98

Details

  • Gang
    Dragon
  • Location
    Libya

Recent Profile Visitors

4,059 profile views
  1. فريٍٍز

    addCommandHandler("freezeall", function(playerSource,command,teams) if hasObjectPermissionTo(playerSource,"function.kickPlayer",true) then if not teams ~= "" then team = getTeamFromName(teams) if team then for i, v in ipairs(getPlayersInTeam(team)) do if not isPedInVehicle(v) then if getElementData(v,"frozenped") == "false" or not getElementData(v,"frozenped") then setElementFrozen(v,true) setElementData(v,"frozenped","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) else setElementFrozen(v,false) setElementData(v,"frozenped","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end else if getElementData(v,"frozenveh") == "false" or not getElementData(v,"frozenveh") then setElementFrozen(getPedOccupiedVehicle(v),true) setElementData(v,"frozenveh","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) elseif getElementData(v,"frozenveh") == "true" then setElementFrozen(getPedOccupiedVehicle(v),false) setElementData(v,"frozenveh","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end end end else outputChatBox("FREEZE: Team not found",playerSource,255,0,0,true) end else outputChatBox("FREEZE: /freezeall [TEAM NAME]",playerSource,255,0,0,true) end else outputChatBox("FREEZE: #FFFFFFSorry, you do not have the ACL rights to freeze players!",playerSource,255,0,0,true) end end )
  2. x[ كلمات ]x [ اللهجات ]x

    شنو جو : كيف حالك كنك : خيرك عدي : امشي برا : امشي شني :كيف بساط كوجينه بريزه مرميطه كنشيلو كشفتي حديد : مسدس بخوصه:موس (يكحل) بمعنى ينظر إلى البنات ‬‎ (قضه) بمعنى فوته وفي كثير كلمات https://ar.wikipedia.org/wiki/لهجة_ليبية
  3. Happy Birthday Bro!

    1. Ahmed Ly
    2. medo7

      medo7

      كل عام وانت بخير .، ي احمد8-)

    3. Ahmed Ly

      Ahmed Ly

      @medo وانت بخير :) 

  4. طلب مساعدة [ Mods]

    --Client addEventHandler("onClientGUIClick",root,function() if source == nominate then local name = string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "") triggerServerEvent("event",localPlayer,name,"event2") end end ) addEvent("event2",true) addEventHandler("event2",root, function (name) local row = guiGridListAddRow(GridList) guiGridListSetItemText(GridList, row, 1,""..name.."", true, false) end ) --Server addEvent("event",true) addEventHandler("event",root, function (name,text) triggerClientEvent(root,text,root,name) end ) slect = guiGridListGetSelectedItem(girdlist) if slect ~= -1 then
  5. طلب مساعدة [ Mods]

    addEventHandler("onClientGUIClick",root,function() if source == nominate then name = getPlayerName(localPlayer) local row = guiGridListAddRow(GridList) guiGridListSetItemText(GridList, row, 1,""..name.."", true, false) end end )
  6. اش المشكله؟؟

    pl = { { 'البدايه', -2412.80200, -602.26788, 132.56250 }, { 'البنك', -2406.18408, -587.08850, 132.64844 }, } function rf () guiGridListClear( grd ) for i, v in ipairs( pl ) do local row = guiGridListAddRow( grd ) guiGridListSetItemText( grd, row, 1, i..'-', false, false ) guiGridListSetItemColor( grd, row, 1, math.random( 156 ), math.random( 255 ), math.random( 255 ) ) guiGridListSetItemText( grd, row, 2, '~ > [ '..v[1]..' ] < ~', false, false ) guiGridListSetItemColor( grd, row, 2, math.random( 156 ), math.random( 255 ), math.random( 255 ) ) guiGridListSetItemData( grd, row, 2, { v[2],v[3],v[4] } ) end end addEventHandler("onClientGUIClick", root, function() if source == warp then local ss = guiGridListGetSelectedItem( grd ) if ( ss ~= -1 ) then local tt = guiGridListGetItemText( grd, ss, 2 ) local x,y,z = unpack(guiGridListGetItemData(grd, ss, 2 )) triggerServerEvent("warp",localPlayer,x,y,z,tt) else outputChatBox( ' #00ffff[ Warp System ] #ff0000 الرجاء إختيار مكان للإنتقال إليه ', 0, 0, 0, true ) end end end ) addEvent("warp",true) addEventHandler("warp",root, function (x,y,z,tt) outputChatBox(""..tt.."",source,255,0,0,true) setElementPosition(source,x,y,z) end )
  7. How do i hide the pointer of guiCreateEdit()?

    local masked = string.rep('●',#guiGetText(text))
  8. [Release]thisdp's Dx GUI System

    good job , thanks
  9. مساعد في executeSQLQuery

    executeSQLQuery( ' CREATE TABLE IF NOT EXISTS `Pizaa2` (playerSerial, pizaa) ' ); addCommandHandler( 'addPizaa', function(player,commandName,NumberPizaa) local checkData = executeSQLQuery( ' SELECT * FROM `Pizaa2` WHERE playerSerial = ? ', getPlayerSerial(player) ); if NumberPizaa ~= "" then if ( type ( checkData ) == 'table' and #checkData == 0 or not checkData ) then executeSQLQuery( ' INSERT INTO `Pizaa2` (playerSerial, pizaa) VALUES(?, ?) ', getPlayerSerial(player),tonumber(NumberPizaa)); outputChatBox("You Have Add: "..NumberPizaa.."",player,,255,0,0,true); else executeSQLQuery( 'UPDATE`Pizaa2` SET playerSerial = ?, pizaa = ?',getPlayerSerial(player),tonumber(NumberPizaa)); end else outputChatBox('error') end end ) addCommandHandler( 'checkPizaa', function(p) local checkPizaa = executeSQLQuery( ' SELECT * FROM `Pizaa2` WHERE playerSerial = ? ', getPlayerSerial(p) ); if ( type ( checkPizaa ) == 'table' and #checkPizaa == 0 or not checkPizaa ) then else local x = checkPizaa[1]['pizaa'] outputChatBox ("you Have Buy: "..x.."",p,255,0,0,true); end end )
  10. طلب إيفنت

    "onClientGUIChanged"
  11. How to make that script?

    You should be used function getKeyState on Client side Are you used the script on server side?
  12. Command

    NO
  13. Command

    I tested it it's working for me post your full code