Jump to content

Mr-M3AND

Members
  • Posts

    312
  • Joined

  • Last visited

Everything posted by Mr-M3AND

  1. local Col = createColCuboid ( X, Y, SizeX, SizeY ) addEventHandler("onColShipHit", Col, function (thePlayer) if (getElementType ( thePlayer ) == "player") and ( getElementData(thePlayer, "gang") ~= 'SWAT' ) then setTimer(killPed , 5000, 1, thePlayer ) end end )
  2. createColCuboid onColShapeHit -- Event getElementData setTimer killPed
  3. LS2 = createMarker (1811.5999755859,-2493.8000488281,13.199999809265, "cylinder", 1.5, 255, 255, 0, 170 ) function money(thePlayer) if getElementType(thePlayer) == 'player' then givePlayerMoney (thePlayer , 5000 ) outputChatBox(" you got 5000$,", thePlayer, 255, 0, 0) end end addEventHandler( "onMarkerHit", LS2, money )
  4. طيب وش الصح اعتقد يقصد getPedWeapon
  5. انت كل دقيقة تكتبلى نص الطلب طيب بعدها كيف اسوى كنسل لشراء السلاح ؟ طيب اطرح الكود كامل اذا تبي اشوف مشكلته
  6. if getPlayerWeapon (thePlayer ) == 30 then
  7. جرب createRadarArea ( -87.504470825195, -29.176136016846, -145, 145, 0, 255, 252, 150 ) abu = createColRectangle ( -231.09331, -26.54623, 145, 145) local timer = { } addEventHandler ("onColShapeHit", abu, function (player) if isTimer (timer[player]) then killTimer (timer[player]) timer [player] = nil end if getElementType (player) == "player" then giveWeapon (player, 31, 5000, true) timer [player] = setTimer (function () giveWeapon (player, 31, 0, true) end, 50, 0) end end ) addEventHandler ("onColShapeLeave", abu, function (player) if isTimer (timer [player]) then killTimer (timer [player]) timer [player] = nil end end )
  8. جربت كل شي بس القريد لست ما تشتغل ولا الازرار اطرح ملف السيرفر
  9. ناقصك ملف سيرفر عشان يشتغل السيرفر موجود بس انا حطيت الكلينت لأن المشكله فيه وجرب Police ادخل تيم
  10. ناقصك ملف سيرفر عشان يشتغل
  11. local marker = { } addCommandHandler( "Markers", function ( player ) if not ( isElement( marker[ player ] ) ) then local x, y, z = getElementPosition( player ) marker[ player ] = createMarker( x, y , z + 1, "cylinder", 1.5, 255, 0, 0, 160 ) attachElements ( marker[ player ] , player, -0.2, 3, -1) setPedAnimation(player,"CASINO","cards_loop",-1,true,true,true ) else destroyElement ( marker[ player ] ) marker[ player ] = nil setPedAnimation(player,false) end end )
  12. شغلك مضبوط الله يعطيك العافية
  13. مو مشكلة مايقصرون باقي الاخوان وان شاءالله توصل بالسلامة
  14. طيب انا ابي اسم اللاعب يتلون بلون انا احدده بشرط يكون اللاعب بقروب ادمن معين يعني اذا اللاعب بقروب كونسول يتلون اسمه بالقريد ليست بلون ازرق واذا كان مثلا بقروب ادمن يتلون اسمه بلون احمر Wnd = {} button = {} GridList = {} Wnd[1] = guiCreateWindow(461,188,162,280,"",false) GridList[1] = guiCreateGridList(0.0556,0.075,0.8889,0.7429,true,Wnd[1]) guiGridListSetSelectionMode(GridList[1],2) guiGridListAddColumn(GridList[1],"player name",0.8 ) button[1] = guiCreateButton(0.0617,0.8393,0.8827,0.1286,"get",true,Wnd[1]) local row = guiGridListAddRow ( GridList[1] ) for i, v in ipairs(getElementsByType("player")) do guiGridListSetItemText ( GridList[1], row, column, getPlayerName ( v ), false, false ) guiGridListSetItemColor ( GridList[1], row , column, 0, 0, 255 ) end
  15. !! طيب ليش ماقلت كذا من البداية ؟؟ كان كلامي واضح فوق قلت ابي لون اللاعب نفس لون تاج الادمنية
  16. صحيح المفروض يجيب لون النك لكن الشي الغريب اني ركبت كذا تاج ومايطلع الا لون اللاعب اللي يجي بالتاب مع اني طفيت الفري روم وبلير كولور يبقى اللون موجود
  17. قصدك اعدل على مود التاج واسوي له داتا ؟؟
×
×
  • Create New...