Scorpio Posted May 20, 2013 Share Posted May 20, 2013 (edited) ابي كود الي هو لما احد يدخل السرفر يروح لمكان معين يعني اول ما يدخل يروح للأحدثيات انا بحطها ولما يموت يرجع لها ثاني Edited May 20, 2013 by Guest Link to comment
iPrestege Posted May 20, 2013 Share Posted May 20, 2013 "onPlayerJoin" "onPlayerWasted" spawnPlayer ي ليت تراجع عنوان موضوعكـ مع القوانين .. Link to comment
AboShanab Posted May 20, 2013 Share Posted May 20, 2013 Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) Link to comment
iPrestege Posted May 20, 2013 Share Posted May 20, 2013 Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) ي حول الله خلة يجرب طيب ؟ Link to comment
Scorpio Posted May 20, 2013 Author Share Posted May 20, 2013 "onPlayerJoin" "onPlayerWasted" spawnPlayer ي ليت تراجع عنوان موضوعكـ مع القوانين .. مشكور على المساعدة+ تم تعديل اسم العنوان + انا اول ما دخلت SpawnPlayer</p>\n<p> عطاني bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) انا عرفت الأحدثيات لكن في اشياء ما فهمتها وذا الي انا سويتو function greetPlayer ( ) function player_Wasted ( ammo, attacker, weapon, bodypart ) bool spawnPlayer ( player thePlayer, x, y, z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) Link to comment
iPrestege Posted May 20, 2013 Share Posted May 20, 2013 ماله اي معنى كودكـ ذذ :https://forum.multitheftauto.com/viewtopic.php?f=164&t=50863 Link to comment
Tete omar Posted May 20, 2013 Share Posted May 20, 2013 كل الاشياء الي بالويكي الي تلاقيها داخل قوس مثل كذا [arg, arg] هذي تعني ان الارقيومنتات هذي اختيارياً , يعني اذا تبي تحطها حطها اذا ما تبي لا تحط Link to comment
AboShanab Posted May 20, 2013 Share Posted May 20, 2013 (edited) ذا مثل الششرح استخددم حقي افضل !! edit : Server Side ! spawnPlayer ( source, x, y, z) هذا اهم شي تحطه داخل الكود اما الباقي اختياري .. !! Edited May 20, 2013 by Guest Link to comment
AhmeD~9MoD Posted May 20, 2013 Share Posted May 20, 2013 "onPlayerJoin" "onPlayerWasted" spawnPlayer ي ليت تراجع عنوان موضوعكـ مع القوانين .. مشكور على المساعدة+ تم تعديل اسم العنوان + انا اول ما دخلت SpawnPlayer</p>\n<p> عطاني bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) انا عرفت الأحدثيات لكن في اشياء ما فهمتها وذا الي انا سويتو function greetPlayer ( ) function player_Wasted ( ammo, attacker, weapon, bodypart ) bool spawnPlayer ( player thePlayer, x, y, z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) الباقيين ماعليك منهم , إلي بين [ ] هذول اختيارين يعني تبي تحطهم او لا ع كيففكك bool spawnPlayer ( player thePlayer, float x, float y, float z,) Link to comment
AboShanab Posted May 20, 2013 Share Posted May 20, 2013 "onPlayerJoin" "onPlayerWasted" spawnPlayer ي ليت تراجع عنوان موضوعكـ مع القوانين .. مشكور على المساعدة+ تم تعديل اسم العنوان + انا اول ما دخلت SpawnPlayer</strong></p>\n<p><strong> عطاني bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) انا عرفت الأحدثيات لكن في اشياء ما فهمتها وذا الي انا سويتو function greetPlayer ( ) function player_Wasted ( ammo, attacker, weapon, bodypart ) bool spawnPlayer ( player thePlayer, x, y, z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) الباقيين ماعليك منهم , إلي بين [ ] هذول اختيارين يعني تبي تحطهم او لا ع كيففكك bool spawnPlayer ( player thePlayer, float x, float y, float z,) ي حبيبي راججع الويكي وتعرف ان كودك غلط !! Link to comment
Scorpio Posted May 20, 2013 Author Share Posted May 20, 2013 Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) ي حول الله خلة يجرب طيب ؟ Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ---- الحدثيات end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ----- نفس الأحدثيات؟ end ) Link to comment
Scorpio Posted May 20, 2013 Author Share Posted May 20, 2013 "onPlayerJoin" "onPlayerWasted" spawnPlayer ي ليت تراجع عنوان موضوعكـ مع القوانين .. مشكور على المساعدة+ تم تعديل اسم العنوان + انا اول ما دخلت SpawnPlayer</p>\n<p> عطاني bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) انا عرفت الأحدثيات لكن في اشياء ما فهمتها وذا الي انا سويتو function greetPlayer ( ) function player_Wasted ( ammo, attacker, weapon, bodypart ) bool spawnPlayer ( player thePlayer, x, y, z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) الباقيين ماعليك منهم , إلي بين [ ] هذول اختيارين يعني تبي تحطهم او لا ع كيففكك bool spawnPlayer ( player thePlayer, float x, float y, float z,) مشكور Link to comment
AboShanab Posted May 20, 2013 Share Posted May 20, 2013 Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, x, y, z, 18, idSkin, 0, 0) end ) ي حول الله خلة يجرب طيب ؟ Server Side ! addEventHandler("onPlayerJoin",root, function () spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ---- الحدثيات end ) addEventHandler("onPlayerWested",root, function () spawnPlayer ( source, 3422.7333984375,-3008.86328125, 154.81094360352, 18, idSkin, 0, 0) ----- نفس الأحدثيات؟ end ) -- حبيبي الاول عند دخول الاعب الثاني عند موت الاعب كل شي صحيح باقي تعدل على idSkin خله ايدي الشخصية اللي تبيها للاعب اذا دخل او اذا مات Link to comment
jafar Posted May 20, 2013 Share Posted May 20, 2013 spawnPlayer ( player , x, y, z, rotation, skinID , interior , dimension , Team ) x , y, z, .. الاحداثيات حق السباون rotation ... اتجاه البيد skinID ... آيدي الشخصية الى تبيها مع السباون interior ... ذا حق الآماكن dimension ... عالم وهمي Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه اذا تبي فقط سباون spawnPlayer ( player , x, y, z ) Link to comment
AboShanab Posted May 20, 2013 Share Posted May 20, 2013 spawnPlayer ( player , x, y, z, rotation, skinID , interior , dimension , Team ) x , y, z, .. الاحداثيات حق السباون rotation ... اتجاه البيد skinID ... آيدي الشخصية الى تبيها مع السباون interior ... ذا حق الآماكن dimension ... عالم وهمي Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه اذا تبي فقط سباون spawnPlayer ( player , x, y, z ) +1 Link to comment
AhmeD~9MoD Posted May 20, 2013 Share Posted May 20, 2013 spawnPlayer ( player , x, y, z, rotation, skinID , interior , dimension , Team ) x , y, z, .. الاحداثيات حق السباون rotation ... اتجاه البيد skinID ... آيدي الشخصية الى تبيها مع السباون interior ... ذا حق الآماكن dimension ... عالم وهمي Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه اذا تبي فقط سباون spawnPlayer ( player , x, y, z ) +1 الكود وش فيه .. ؟ bool spawnPlayer ( player thePlayer, float x, float y, float z,) إذا قصدك اني ماشلت bool و float و player فأنأ متعمد اني مآشلتهم , قصدي اني اشيل الأرقمنتات حق التيم و السكن .. ألخ Link to comment
jafar Posted May 20, 2013 Share Posted May 20, 2013 spawnPlayer ( player , x, y, z, rotation, skinID , interior , dimension , Team ) x , y, z, .. الاحداثيات حق السباون rotation ... اتجاه البيد skinID ... آيدي الشخصية الى تبيها مع السباون interior ... ذا حق الآماكن dimension ... عالم وهمي Team ... اسم الفريق الى تريده يوم يسوي سباون يصير فيه اذا تبي فقط سباون spawnPlayer ( player , x, y, z ) +1 الكود وش فيه .. ؟ bool spawnPlayer ( player thePlayer, float x, float y, float z,) إذا قصدك اني ماشلت bool و float و player فأنأ متعمد اني مآشلتهم , قصدي اني اشيل الأرقمنتات حق التيم و السكن .. ألخ ويش فيك تهلوس؟ انا شرحت الارقمنتات بس ... Link to comment
AhmeD~9MoD Posted May 20, 2013 Share Posted May 20, 2013 أدري , انا اقول لـ أبو شنب , يقول لي أراجع الويكي ... ؟ اعتقد قصده ان الكود خطأ Link to comment
AhmeD~9MoD Posted May 20, 2013 Share Posted May 20, 2013 بدينا منافسة من يعرف اكثير السالفة مو سآلفة منآآفسة ! هو قال ان الكود الي حطيته خطأ , فأنأ رديت عليه 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