AL-SAYED Posted October 18, 2012 Share Posted October 18, 2012 function OnplayerWasted ( ) local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 spawnPlayer(source, spawnX, spawnY, spawnZ) addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) end اذا اسوي سلاب لروحي ما يصير ري سباون Link to comment
./BlackBird# Posted October 18, 2012 Share Posted October 18, 2012 function OnplayerWasted ( ) local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 spawnPlayer(source, spawnX, spawnY, spawnZ) addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) end اول شي اسم العمليه غير عن الي في ايفينت و انت حاط الاند بعد الايفينت function wasted ( ) local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 spawnPlayer(source, spawnX, spawnY, spawnZ) end addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) Link to comment
AL-SAYED Posted October 18, 2012 Author Share Posted October 18, 2012 MJNONFIK انا حاط ان الشخصية تثبت على الشرطي لكن تروح تتغير الى شخصية عشوائية! Link to comment
TAPL Posted October 18, 2012 Share Posted October 18, 2012 MJNONFIKانا حاط ان الشخصية تثبت على الشرطي لكن تروح تتغير الى شخصية عشوائية! local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 addEventHandler("onPlayerWasted", root, function() local skin = getElementModel(source) or 0 spawnPlayer(source, spawnX, spawnY, spawnZ, 0, skin) end) Link to comment
AL-SAYED Posted October 18, 2012 Author Share Posted October 18, 2012 ما تثبت تتغير الى عشوائية Link to comment
TAPL Posted October 18, 2012 Share Posted October 18, 2012 ما تثبت تتغير الى عشوائية أكيد أنت مشغل الفري روم Link to comment
AL-SAYED Posted October 18, 2012 Author Share Posted October 18, 2012 تثبت لكن مو بالشكل الا ابغيه Link to comment
AL-SAYED Posted October 18, 2012 Author Share Posted October 18, 2012 local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 addEventHandler("onPlayerWasted", root, function() local skin = getElementModel(source) or 0 spawnPlayer(source, spawnX, spawnY, spawnZ, 0, skin) end) ابدل ال0 بالشكل الا ابغيه؟ Link to comment
TAPL Posted October 18, 2012 Share Posted October 18, 2012 شكل أيش شكل = شخصية؟ و إلا تقصد شي ثاني Link to comment
3NAD Posted October 18, 2012 Share Posted October 18, 2012 الكود واضح . . skin السطر 6 الأرقومنت الأخير بدل الكلمة إلى رقم الشخصية . . 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