Jump to content

طلب مساعدة#


Recommended Posts

  • Replies 107
  • Created
  • Last Reply

Top Posters In This Topic

local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    spawnPlayer ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
              end 
      end 
 ) 

ما قلت لنا السجن على انترو معين؟

Link to comment
local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    spawnPlayer ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
              end 
      end 
 ) 

ما قلت لنا السجن على انترو معين؟

ايوا الانترو 1

Link to comment

جرب كذا

local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    spawnPlayer ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
              end 
      end 
 ) 
Link to comment
جرب كذا

local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    spawnPlayer ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
              end 
      end 
 ) 

ما زبط :roll:

تيجي السيرفر ؟ :|

Link to comment
المشكله من كود لسباون جربه و هو كذا

 

addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if getElementData(source, "Spawnx") then 
    setTimer( function (         ) 
if ( getElementData(source"Stats") ~= 3 ) then 
    spawnPlayer ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
                        end, 3000,1 ) 
                 end 
          end 
   end 
 ) 

اقلك جرب ذا الكود

Link to comment
الحين انت وش تبي تسوي بالظبط ؟

شو بتستنتج من هالأكواد ؟

local Group = '[Congress]' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Criminals' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
     if ( getElementData(source, "Spawnx") == true ) then 
    setElementPosition ( source, 241.30241394043,1028.7094726563,1084.0078125 ) 
    setElementInterior( source, 7 ) 
    setElementDimension( source, 0 ) 
    setPedArmor ( source, 100) 
    setPedFightingStyle ( source, 7) 
    setElementHealth (source,200) 
    setPedStat (source, 24, 1000) 
              end 
      end 
 ) 

---------------------

local Group = '[Congress]' 
  
 addEventHandler ("onPlayerWasted",root1, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root1, 
 function() 
     if ( getElementData(source, "Spawnx") == true ) then 
    setElementPosition ( source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
    setElementInterior( source, 1 ) 
    setElementDimension( source, 0 ) 
              end 
      end 
 ) 

Link to comment

شو بتستنتج من هالأكواد ؟

local Group = '[Congress]' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Criminals' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
     if ( getElementData(source, "Spawnx") == true ) then 
    setElementPosition ( source, 241.30241394043,1028.7094726563,1084.0078125 ) 
    setElementInterior( source, 7 ) 
    setElementDimension( source, 0 ) 
    setPedArmor ( source, 100) 
    setPedFightingStyle ( source, 7) 
    setElementHealth (source,200) 
    setPedStat (source, 24, 1000) 
              end 
      end 
 ) 

---------------------

شوف بسطر 19

انت قلت ان انترو 1 وانت حاطه 7 :roll:

Link to comment

شو بتستنتج من هالأكواد ؟

local Group = '[Congress]' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Criminals' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
     if ( getElementData(source, "Spawnx") == true ) then 
    setElementPosition ( source, 241.30241394043,1028.7094726563,1084.0078125 ) 
    setElementInterior( source, 7 ) 
    setElementDimension( source, 0 ) 
    setPedArmor ( source, 100) 
    setPedFightingStyle ( source, 7) 
    setElementHealth (source,200) 
    setPedStat (source, 24, 1000) 
              end 
      end 
 ) 

---------------------

شوف بسطر 19

انت قلت ان انترو 1 وانت حاطه 7 :roll:

عارف ,,, بس انتبه منيح عالأكواد

عامل سباون اذا مجرم قتل مجرم يرسبن بالمقر عادي ,,, والاكواد الثانية اذا شرطي قتل مجرم يرسبن بالسجن

بس ولا شي اشتغل منهن :roll:

Link to comment
local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    setTimer ( spawnPlayer ,3000,1, source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
          setElementInterior( source, 1 ) 
              end 
      end 
 ) 
Edited by Guest
Link to comment
آخر كود آخذته مني جربه وخلك فاتح الدي بق ورح اقتل مجرم وأنت بتيم الشرطة وشف الدي بق يجيب خطأ بالاكواد؟

EDIT

local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    setTimer ( spawnPlayer ,1000,1, source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
          setElementInterior( source, 1 ) 
              end 
      end 
 ) 

نفس الشي سفاح ,, والدي بق لما فتحته ما أجالي شي

:roll::roll::roll::|:|:|

Link to comment
Group = "GroupName" 
addEventHandler("onPlayerWasted", root,  
function (_, killer) 
    if killer and getPlayerTeam(killer) == getTeamFromName("Police") and getPlayerTeam(source) == getTeamFromName("Criminals") and not getElementData ( source , "Group" ) == Group then 
        setElementData(source, "Spawnx", true) 
    end 
end 
) 
  
function Spawn(element) 
    spawnPlayer(element, 1574.7687988281,-1680.6424560547,1226.3962402344) 
end 
  
addEventHandler ("onPlayerSpawn", root, 
function() 
    if getElementData(source, "Spawnx") == true then 
        setTimer(Spawn(source) 1000,1) 
        setElementInterior(source, 1) 
    end 
end 
) 

خذ هذه هريسة من صنعي 8)

Link to comment

اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقال

اذا كنت مركب مود الاعقال بدون اي تعديلات

استخدم هي :

if getElementData(source, "Jailed") == then  

Link to comment
اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقال

اذا كنت مركب مود الاعقال بدون اي تعديلات

استخدم هي :

if getElementData(source, "Jailed") == then  

الدآتآ اذا كانت تسآوي آيش ؟ ما آشوفكك حآط القيمة ؟

Link to comment
اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقال

اذا كنت مركب مود الاعقال بدون اي تعديلات

استخدم هي :

if getElementData(source, "Jailed") == then  

الدآتآ اذا كانت تسآوي آيش ؟ ما آشوفكك حآط القيمة ؟

داتا وهمي 8)

Link to comment
Group = "GroupName" 
addEventHandler("onPlayerWasted", root,  
function (_, killer) 
    if killer and getPlayerTeam(killer) == getTeamFromName("Police") and getPlayerTeam(source) == getTeamFromName("Criminals") and not getElementData ( source , "Group" ) == Group then 
        setElementData(source, "Spawnx", true) 
    end 
end 
) 
  
function Spawn(element) 
    spawnPlayer(element, 1574.7687988281,-1680.6424560547,1226.3962402344) 
end 
  
addEventHandler ("onPlayerSpawn", root, 
function() 
    if getElementData(source, "Spawnx") == true then 
        setTimer(Spawn(source) 1000,1) 
        setElementInterior(source, 1) 
    end 
end 
) 

خذ هذه هريسة من صنعي 8)

هريستك مش زابطة ضض :|

Link to comment
local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    setTimer ( spawnPlayer ,3000,1, source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
          setElementInterior( source, 1 ) 
              end 
      end 
 ) 
Link to comment
local Group = 'GroupName' 
  
 addEventHandler ("onPlayerWasted",root, 
function (_,killer) 
 if ( killer and getElementType ( killer) == "player" ) then 
 if not getPlayerTeam ( source ) and getTeamName( getPlayerTeam( source ) ) == 'Criminals' or getElementData ( source , "Group" ) == Group then return end 
if (  getPlayerTeam ( killer ) and getTeamName( getPlayerTeam( killer ) ) == 'Police' ) then 
setElementData ( source , "Spawnx",true ) 
                    end 
            end 
     end 
 ) 
  
  
addEventHandler ( "onPlayerSpawn", root, 
 function() 
        if ( getElementData(source, "Spawnx") == true ) then 
    setTimer ( spawnPlayer ,3000,1, source, 1574.7687988281,-1680.6424560547,1226.3962402344 ) 
          setElementInterior( source, 1 ) 
              end 
      end 
 ) 

عالفاضي سفاح : # :!::!: ><

Link to comment

في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ

بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : #

Link to comment

في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ

بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : #

وليه مآ تنسخها مرة ثآنية ؟

وأنت من أول صفحة

ما ضبط

ما ضبط

ما ضبط

Link to comment

في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ

بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : #

وليه مآ تنسخها مرة ثآنية ؟

وأنت من أول صفحة

ما ضبط

ما ضبط

ما ضبط

مني قلتلك جربتها كمان مرة واكثر من مرة ما زبطت مدري ليش

ضليت اجرب فيهم اكثر من مرة بعد الدوس ما زبطوا موجودين بصفحة 4

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...