Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Days Won

    27

Everything posted by iPrestege

  1. ياشباب المود هذا لحرب العصابات يعني فية سيرفرات او اشخاص يحتاجونة تبيهم وش يسوون اشوف الوضع عادي صح انة مخدرات وكذا لكن هذي اللعبه واللي يخلي احد وراعينة يلعب جراند عارف جراند وش هي اصلاً عموماً مثل ماقلت لـ ماكس ضيف تايمر معين واذا ماوصل الاعب في وقت محدد يقتل الاعب ويسحب منة فلوس اكثر واقعيه
  2. افضل انك تضيف تايمر وقت محدد يوصل فية ويكون فية كاونت داون عالشاشة بحيث اذا خلص الوقت يقتل الاعب وياخذ منه المخدرات وياخذ مبلغ منة حتى لو ماكان معه المبلغ يحط فلوسة بالسالب
  3. اللي يبي لعيبة للروم حقة ماتفرق معه طويل او لا بكتبة بكتبة صح ولالا وغير كذا الانترو 300 سطر طويل على صور وموسيقى وطريقتك نوعاً ما أفضلها لانة ممكن الاعب يطفش وهو ينتظر في هالصور تخلص ويطلع فالافضل سوي صورتين سريعتين بحركات مختلفة وتكون جميلة موفقين جميع @Developer Ahmed
  4. You can use data : setElementData getElementData getPlayerName getVehicleName So what you have to do is : 1. Go to the freeroam resource > mods\deathmatch\resources\[gameplay]\freeroam > fr_server.lua 2. Search for the 'createVehicle' Function and set a data for the vehicle with player name. 3. Get the results with 'getElementData' and use 'getVehicleName' To get the vehicle name and do what ever you want to.
  5. A. 1 i will never accept zero. Q. Would you give a homeless person CPR if they were dying?
  6. لهالدرجة الناس ماتعرف تسوي قيم مود حياة واقعيه على الاقل خذت مود عدل على الانترو حقة ولاتشيل حقوق المود
  7. لا مش ممكن تقدر ت بحث وتشوف كيف تاخذ سلاح يوم تضغط زر او صورة او ابحث عن مبرمج بمقابل مادي
  8. guiCreateWindow guiSetVisible showCursor guiCreateStaticImage addEventHandler 'onClientMarkerHit' 'onClientGUIClick' triggerServerEvent addEvent giveWeapon
  9. اللي انت مسوية كذا يعني بس قروب الموديرتور ياخذ باند هو يبي قروبات معينة تاخذ باند بعد عشر ثواني والباقي باند على طول و الكونسول ماياخذ باند =)
  10. It should work fine and check your serial again type /serial and copy your serial and replace with the one already you put.
  11. Then i guess the serial is wrong or something try to do it via account.
  12. That's should work are you sure it's a server side file in the meta.xml because if it's a client it will not work. does the debugscript say anything?
  13. Try this : addEventHandler ( "onClientResourceStart",resourceRoot, function ( ) sound = playSound( "music/APB.mp3" ) setTimer ( function ( ) if sound and isElement ( sound ) then destroyElement ( sound ) sound = nil end end,50000,1 ) end )
  14. You can make it client side with 'onClientResourceStart' Event. PS. It will start after download finish.
  15. No some functions are client side functions only the red functions is client side only and the orange is server side only and blue mean's that it's shared.
  16. addEventHandler ( 'onMarkerHit',marker2, function ( player ) if ( player and getElementType ( player ) == 'player' ) then local vehicle = getPedOccupiedVehicle( player ) if ( vehicle and vehicle == table [ source ] ) then if isElement ( table [ source ] ) then destroyElement ( table [ source ] ) givePlayerMoney( player,7000 ) end end end end ) بدل هذا بـ addEventHandler ( 'onMarkerHit',marker2, function ( player ) if ( player and getElementType ( player ) == 'player' and isPedInVehicle ( player ) ) then local vehicle = getPedOccupiedVehicle( player ) if ( vehicle and vehicle == table [ player ] ) then if isElement ( table [ player ] ) then destroyElement ( table [ player ] ) givePlayerMoney( player,7000 ) end end end end )
  17. You can't play sound when player connect because ' playSound ' function is client side function only and onPlayerConnect server side event.
  18. وش يعطيك الـ debugscript 3
  19. جرب هذا ماجربتة من الجوال حالياً كلنت : local marker1 = createMarker ( 1614.43103,-1506.77539,13.21113,"cylinder",2,220,20,60 ) window = guiCreateWindow(282, 129, 708, 425, "Drug Delivary", false) guiWindowSetSizable(window, false) memo = guiCreateMemo(24, 42, 674, 103, "Welcome to Drug Delivary, after you press accept the server will move you into a car you must go with it into the marker you can find this marrker into the truck blip in the map :)) if you found any bug Contact staff team or report\nit @theForum [ 7000$ ]", false, window) accept = guiCreateButton(25, 331, 95, 84, "Accept", false, window) Close = guiCreateButton(597, 327, 95, 84, "Close", false, window) guiSetVisible ( window , false ) addEventHandler ( "onClientMarkerHit" ,marker1, function ( player ) if ( player == localPlayer and not isPedInVehicle ( player ) ) then local team = getTeamFromName ( 'Criminal' ) local pteam = getPlayerTeam ( player ) if ( pteam ~= team ) then return false end guiSetVisible ( window , true ) guiWindowSetSizable(window, true) showCursor ( true ) guiSetInputEnabled ( true ) end end ) addEventHandler ( "onClientGUIClick" ,root, function ( ) if ( source == accept ) then guiSetVisible ( window , false ) showCursor ( false ) guiSetInputEnabled ( false ) triggerServerEvent ( "CreateVehicle_" , localPlayer ) elseif ( source == Close ) then guiSetVisible ( window , false ) showCursor ( false ) guiSetInputEnabled ( false ) end end ) سيرفر : local table = { } local marker2 = createMarker ( 1022.42944,2376.18359,9.82031,"cylinder",4,255,0,0 ) addEvent ( 'CreateVehicle_',true ) addEventHandler ( 'CreateVehicle_',getRootElement ( ), function ( ) if isElement ( table [ source ] ) then destroyElement ( table [ source ] ) table [ source ] = nil end table [ source ] = createVehicle ( 482, 1605.30298, -1464.82532, 13.56153 +1 ) warpPedIntoVehicle ( source, table [ source ] ) end ) addEventHandler ( 'onMarkerHit',marker2, function ( player ) if ( player and getElementType ( player ) == 'player' ) then local vehicle = getPedOccupiedVehicle( player ) if ( vehicle and vehicle == table [ source ] ) then if isElement ( table [ source ] ) then destroyElement ( table [ source ] ) givePlayerMoney( player,7000 ) end end end end ) addEventHandler ( 'onPlayerQuit',root, function ( ) if isElement ( table [ source ] ) then destroyElement ( table [ source ] ) table [ source ] = nil end end ) عشان تفتح لوحة الماركر لازم تكون في تيم Criminal
  20. local aGroups = { 'Moderator' } -- هنا ضيف القروبات اللي تبيها تاخذ باند بعد عشر ثواني addEventHandler ( 'onPlayerWeaponSwitch',root, function ( _,aWeapon ) if ( aWeapon == 4 ) then local aPlayerAccount = getPlayerAccount ( source ) local aAccountName = getAccountName ( aPlayerAccount ) if ( aPlayerAccount and not isGuestAccount( aPlayerAccount ) ) then for _,aGroup in ipairs ( aGroups ) do if isObjectInACLGroup( 'user.'..aAccountName,aclGetGroup ( 'Console' ) ) then return false end if isObjectInACLGroup( 'user.'..aAccountName,aclGetGroup ( aGroup ) ) then setTimer ( function ( ) local source = source banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end,10000,1 ) else banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end end else banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end end end )
  21. local aGroups = { 'Moderator' } -- هنا ضيف القروبات اللي تبيها تاخذ باند بعد عشر ثواني addEventHandler ( 'onPlayerWeaponSwitch',root, function ( _,aWeapon ) if ( aWeapon == 4 ) then local aPlayerAccount = getPlayerAccount ( source ) local aAccountName = getAccountName ( aPlayerAccount ) if ( aPlayerAccount and not isGuestAccount( aPlayerAccount ) ) then for _,aGroup in ipairs ( aGroups ) do if isObjectInACLGroup( 'user.'..aAccountName,aclGetGroup ( 'Console' ) ) then return false end if isObjectInACLGroup( 'user.'..aAccountName,aclGetGroup ( aGroup ) ) then setTimer ( function ( ) banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end,10000,1 ) else banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end end else banPlayer ( source,false,false,true,root,'ممنوع استخدام السكين' ) end end end )
×
×
  • Create New...