a7zan Posted August 27, 2015 Share Posted August 27, 2015 debugscript 3 آكتب بآف8 وسوي ريستارت للمود ، وصور الشاشة ، او اكتب الخطآء ، Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 debugscript 3 آكتب بآف8وسوي ريستارت للمود ، وصور الشاشة ، او اكتب الخطآء ، ما بقدر انسخ الأخطاء ؟؟ Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 واذا ما ضبط شفلي وش يقولككـ الدي بق ERROR: Loading script failed: Congress1/Spawn.lua:23 unexpexted symbol near هاد اللي طلع معي ,,, ملف Spawn.lua هو ملف السباون اللي بشتغل عليه Link to comment
iMr.SFA7 Posted August 27, 2015 Share Posted August 27, 2015 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
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 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
iMr.SFA7 Posted August 27, 2015 Share Posted August 27, 2015 جرب كذا 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
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 جرب كذا 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
#Mr.alkmasha Posted August 27, 2015 Share Posted August 27, 2015 المشكله من كود لسباون جربه و هو كذا 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
The Killer Posted August 27, 2015 Share Posted August 27, 2015 الحين انت وش تبي تسوي بالظبط ؟ Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 الحين انت وش تبي تسوي بالظبط ؟ شو بتستنتج من هالأكواد ؟ 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
a7zan Posted August 27, 2015 Share Posted August 27, 2015 شو بتستنتج من هالأكواد ؟ 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 Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 شو بتستنتج من هالأكواد ؟ 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 عارف ,,, بس انتبه منيح عالأكواد عامل سباون اذا مجرم قتل مجرم يرسبن بالمقر عادي ,,, والاكواد الثانية اذا شرطي قتل مجرم يرسبن بالسجن بس ولا شي اشتغل منهن Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 MR-SFA7 where are you man :l Link to comment
iMr.SFA7 Posted August 27, 2015 Share Posted August 27, 2015 (edited) 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 August 28, 2015 by Guest Link to comment
Abo-Al3ZaB Posted August 27, 2015 Author Share Posted August 27, 2015 آخر كود آخذته مني جربه وخلك فاتح الدي بق ورح اقتل مجرم وأنت بتيم الشرطة وشف الدي بق يجيب خطأ بالاكواد؟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 ) نفس الشي سفاح ,, والدي بق لما فتحته ما أجالي شي Link to comment
Jupi Posted August 28, 2015 Share Posted August 28, 2015 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 ) خذ هذه هريسة من صنعي Link to comment
#Alwaeli Posted August 28, 2015 Share Posted August 28, 2015 اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقال اذا كنت مركب مود الاعقال بدون اي تعديلات استخدم هي : if getElementData(source, "Jailed") == then Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقالاذا كنت مركب مود الاعقال بدون اي تعديلات استخدم هي : if getElementData(source, "Jailed") == then الدآتآ اذا كانت تسآوي آيش ؟ ما آشوفكك حآط القيمة ؟ Link to comment
Jupi Posted August 28, 2015 Share Posted August 28, 2015 اعرف مشكلتك و سهلة بس ما اعرف كيف اوضح لك لانها تعتمد على مود الاعتقالاذا كنت مركب مود الاعقال بدون اي تعديلات استخدم هي : if getElementData(source, "Jailed") == then الدآتآ اذا كانت تسآوي آيش ؟ ما آشوفكك حآط القيمة ؟ داتا وهمي Link to comment
Abo-Al3ZaB Posted August 28, 2015 Author Share Posted August 28, 2015 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 ) خذ هذه هريسة من صنعي هريستك مش زابطة ضض Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 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
Abo-Al3ZaB Posted August 28, 2015 Author Share Posted August 28, 2015 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
Abo-Al3ZaB Posted August 28, 2015 Author Share Posted August 28, 2015 في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : # Link to comment
iMr.SFA7 Posted August 28, 2015 Share Posted August 28, 2015 في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : # وليه مآ تنسخها مرة ثآنية ؟ وأنت من أول صفحة ما ضبط ما ضبط ما ضبط Link to comment
Abo-Al3ZaB Posted August 28, 2015 Author Share Posted August 28, 2015 في اكواد الك اعطيتني اياهم بصفحة 4 لما استعملتهم أول مرة زبطوا 100% وما كان في أي خطأ بس أجا واحد وعملي دوس اتاك للسيرفر ولما رجعت شغلت المودات الأكواد خربت مدري ايش صار ضض >< : # وليه مآ تنسخها مرة ثآنية ؟ وأنت من أول صفحة ما ضبط ما ضبط ما ضبط مني قلتلك جربتها كمان مرة واكثر من مرة ما زبطت مدري ليش ضليت اجرب فيهم اكثر من مرة بعد الدوس ما زبطوا موجودين بصفحة 4 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now