Jump to content

AHMAD1234

Members
  • Posts

    485
  • Joined

  • Last visited

Everything posted by AHMAD1234

  1. c == veh[player] true?
  2. the code is okay but i ask if you sure that will by for all players Edit: Because I do not have server to test it
  3. ok are you sure that any player other can't enter the vehicle if he is not in team..?
  4. no not locked i mean for veh[player] only
  5. no not ID like this veh = {}
  6. no actually i want any player who wants to enter the the Private vehicle he can't if he is not in the team
  7. Hello guys the code, okay but the problem is the order only for the player who have the vehicle i want any player want to enter the vehicle he can't if he is not in the team and thanks. addEventHandler("onVehicleStartEnter", root, function ( player ) if ( source == veh[player] ) then if Settings["forFree"] == true then return end if getPlayerTeam ( player ) ~= getTeamFromName ( Settings["teamName"] ) then outputChatBox( "* #0069c7this vehicle for #ff0000team",player,255,0,0,true ) cancelEvent( ) end end end )
  8. في اكثر من طريقة عشان تحفظ البيانات setElementData or getElementData setAccountData or getAccountData executeSQLSelect xmlCreateFile ض1 setElementData or getElementData ما اعتقد تظبط يب داري بس انا اقله انه في اكثر من طريقة عشان يحط قاعدة بيانات ض1
  9. في اكثر من طريقة عشان تحفظ البيانات setElementData or getElementData setAccountData or getAccountData executeSQLSelect xmlCreateFile ض1
  10. +1 and guiGridListAddColumn(GridList name,"name",0.3) guiGridListAddColumn(GridList name,"ID",0.5) ض1
  11. local accountname = getAccountName (getPlayerAccount(source)) ض1
  12. client addEventHandler("onClientMarkerHit", into, function ( hitPlayer, matchingDimension ) if ( isElementWithinMarker(hitPlayer, into) ) then triggerServerEvent ("into", getLocalPlayer(), into1) end end) server addEvent ("into", true) addEventHandler ("into", getRootElement(), function(into1) setElementPosition(source,1541.1697998047, -1364.2215576172, 329.796875) end ) جرب
  13. if getElementType(thePlayer) == "player" then
  14. عادي بس حط ارقام الشخصيات ض1
  15. cars = { {579,"car1"}, {400,"car2"}, {404,"car3"}, } for i,v in ipairs (cars) do local row = guiGridListAddRow (GUIEditor_Grid[1]) guiGridListSetItemText (GUIEditor_Grid[1], row, 1, v[1], false, true) guiGridListSetItemText (GUIEditor_Grid[1], row, 2, v[2], false, true) end ض1 جربه
  16. امممم ممكن تقلي من فين جايب الكود..؟ لانه يشبه الكود اللي عندي
  17. كودك ماله علاقة بطلبه + أتوقع انك ناسخه من موضوع آخر لا يا باين هادى مسويه قبل شوي وبعدين الموضوع حقه يتكلم عن انه يبغى يصير للاعب وارب داخل السيارة والكود حقي لمى يسجل دخول يدخله في سيارة ولمى يسجل خروج تنسحب منه السيارة وتحياتي...
  18. vehTapl = {} addEventHandler("onPlayerLogin", root, function () local x,y,z = getElementPosition(source) vehTapl[source] = createVehicle(555, x,y,z) setVehicleColor(vehTapl[source], 255, 255, 255) warpPedIntoVehicle(source, vehTapl[source]) end ) addEventHandler("onPlayerLogout", root, function () if vehTapl[source] and isElement( vehTapl[source] ) then destroyElement( vehTapl[source] ) vehTapl[source] = nil end end )
  19. local teamPlayer = getPlayerTeam(source) local r,g,b = getTeamColor(teamPlayer)
  20. اقرا محتوى الموضوع اوكي منستر بس نصيحة لا تعدل في ملفات الادمنية احتمال كبير تخرب الا اذا كنت داري عنها وبالتوفيق..
  21. منستر طيب انا الحين راح اسألك سؤال انت اذا جاك مشرف اوكي وعطاك ميوت كيف راح تفك الميوت حقك اذا كنت منت قادر على فكه الا اللي عطاك اياه..؟
  22. قصده يمكن يكون في خطأ في الايسل
×
×
  • Create New...