Deep thinker

Members
  • Content Count

    218
  • Joined

  • Last visited

Community Reputation

13 Decent

About Deep thinker

  • Rank
    Trick

Recent Profile Visitors

1,069 profile views
  1. https://imgur.com/a/QlAbT انا عايز اخليه ميضربش في سرعة اققل من ال 150 او لما تكون الهايدر في وضعية الهوفر
  2. @-Le[3]bA. WARNING: antihover\client.lua:30: Bad argument @'getVehicleAdjustableProperty' [Expected Vehicle at argument 1,got number'520'] getVehicleAdjustableProperty(getVehicleNameFromModel(model)) ?
  3. انا كنت عايز الي ال hydra متضربش لما تكون عاملة hover الكود armedVehicles = {[425]=true, [520]=true, [476]=true, [447]=true, [430]=true, [432]=true, [464]=true, [407]=true, [601]=true} function vehicleWeaponFire(key, keyState, vehicleFireType) local vehModel = getElementModel(getPedOccupiedVehicle(localPlayer)) if (armedVehicles[vehModel]) then triggerEvent("onClientVehicleWeaponFire", localPlayer, vehicleFireType, vehModel) end end bindKey("vehicle_fire", "down", vehicleWeaponFire, "primary") bindKey("vehicle_secondary_fire", "down", vehicleWeaponFire, "secondary") addEvent ( "onClientVehicleWeaponFire" , true ) ; addEventHandler ( "onClientVehicleWeaponFire" , root , function ( _ , model ) if ( model == 520 ) then local adjusted = getVehicleAdjustableProperty(model) if adjusted == "5000" then toggleControl ( "vehicle_secondary_fire", false ) end end end)
  4. triggerServerEvent كيف استعملتها وكيف عرفت التيم
  5. شكرا اخي بس انا كذا ما تعلمت اي شي
  6. كيف استعمل TriggerClientEvent ب arguments من الكلاينت سايد مثلا انا عايز لما اضغط في الGridlist اغير الفريق تبعي علي حسب الفريق اللي انا اخترته --Client function clientsideResourceStart () local screenW, screenH = guiGetScreenSize() teamsWin = guiCreateWindow((screenW - 615) / 2, (screenH - 541) / 2, 615, 541, "Team System </> ProMax", false) guiWindowSetSizable(teamsWin, false) guiSetVisible(teamsWin,false) local joinBTN = guiCreateButton(47, 434, 148, 54, "Join", false, teamsWin) local rfrshBTN = guiCreateButton(230, 434, 148, 54, "Refresh", false, teamsWin) teamList = guiCreateGridList(27, 38, 558, 379, false, teamsWin) -- Create the grid list local column = guiGridListAddColumn( teamList, "team", 0.85 ) if ( column ) then --If the column has been created, fill it with teams for id, team in ipairs ( getElementsByType ( "team" ) ) do local row = guiGridListAddRow ( teamList ) local r, g, b = getTeamColor ( team ) -- We get the team nametag color. guiGridListSetItemText ( teamList, row, column, getTeamName ( team ), false, false ) guiGridListSetItemColor ( teamList, row, column, r, g, b ) -- We set the grid list item color to the returned values of getteamNametagColor. end end end addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart ) function ToggleWND() if guiGetVisible(teamsWin) == false then showCursor(true) guiSetVisible(teamsWin,true) elseif guiGetVisible(teamsWin) == true then guiSetVisible(teamsWin,false) end end addEventHandler ( "onClientResourceStart", resourceRoot, function () bindKey("F3","down",ToggleWND) end) addEventHandler( "onClientGUIDoubleClick", teamList, function ( button ) if ( button == "left" ) then if ( source == aTeamList ) then if ( guiGridListGetSelectedItem ( teamList ) ~= -1 ) then local team = guiGridListGetItemText ( teamList, guiGridListGetSelectedItem ( teamList ), 1 ) triggerServerEvent ( "aPlayer", getLocalPlayer(), teamSelect, getTeamFromName ( team ) ) end end end end) -------------------------------- --server addEvent("aPlayer",true) addEventHandler("aPlayer",getRootElement(), function () if ( getElementType ( data ) == "team" ) then setPlayerTeam ( player, data ) mdata = getTeamName ( data ) end end ) السيرفير سايد اخذتها من الادمن بانل بصراحة حاولت اجرب يمكن تشتغل بس ماشتغلت
  7. If you want a better service ,go to the other languages section and find your language. because it's hard to understand what you are trying to explain.
  8. فعلتموها ولا سويتوها
  9. يال اللهول لقد فعلنها
  10. مشرف ولا مقرف والله دة اللي طلع معي
  11. دي كانت اول شي عملته تصدق وتامن بالله ماخدت بالي ض1 تسلم اخي