Mr.YaSoF Posted January 16, 2015 Share Posted January 16, 2015 addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setTimer(setElementPosition, 500, 1, source,1423.3000488281,1456.5,79.800003051758) setPedSkin (source, 230 ) setElementHealth (player, 200 ) setPedArmor (player, 100 ) end end ) م يعطي لا دم ولا درع + ابي اخليه يرسبن داخل عالم وهمي انترو مدري وش اسمه Link to comment
TAPL Posted January 16, 2015 Share Posted January 16, 2015 بدل بلاير حط سورس و الدم ما رح يجي 200 إلا إذا حطيت الحد 200 عن طريق الفنكشن setPedStat للعالم الوهمي setElementDimension للأنترو setElementInterior Link to comment
EH10 Posted January 16, 2015 Share Posted January 16, 2015 addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setTimer(setElementPosition, 500, 1, source,1423.3000488281,1456.5,79.800003051758) setPedSkin (source, 230 ) setElementHealth (player, 200 ) setPedArmor (player, 100 ) end end ) م يعطي لا دم ولا درع + ابي اخليه يرسبن داخل عالم وهمي انترو مدري وش اسمه setPedSkin -- Error , for setElementModel Link to comment
Mr.YaSoF Posted January 16, 2015 Author Share Posted January 16, 2015 addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setTimer(setElementPosition, 500, 1, source,1423.3000488281,1456.5,79.800003051758) setPedSkin (source, 230 ) setElementHealth (player, 200 ) setPedArmor (player, 100 ) end end ) م يعطي لا دم ولا درع + ابي اخليه يرسبن داخل عالم وهمي انترو مدري وش اسمه setPedSkin -- Error , for setElementModel سويت كذا بعد م ضبط addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setTimer(setElementPosition, 500, 1, source,140.32225,1379.53491,1088.36719) setElementInterior ( source, 5 ) setElementDimension ( source, 0 ) setElementModel (source, 230 ) setElementHealth (source, 200 ) setPedArmor (source, 100 ) end end ) Link to comment
The Killer Posted January 16, 2015 Share Posted January 16, 2015 تأكد انك في تيم No Team + انك في قروب W7H addEventHandler ("onPlayerSpawn", root, function () if getPlayerTeam (source) and getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setElementPosition (source, 140.32225,1379.53491,1088.36719) setElementDimension (source, 0) setElementInterior (source, 5) setPedArmor (source, 100) setElementHealth (source, 100) end end ) Link to comment
Mr.YaSoF Posted January 16, 2015 Author Share Posted January 16, 2015 تأكد انك في تيمNo Team + انك في قروب W7H addEventHandler ("onPlayerSpawn", root, function () if getPlayerTeam (source) and getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setElementPosition (source, 140.32225,1379.53491,1088.36719) setElementDimension (source, 0) setElementInterior (source, 5) setPedArmor (source, 100) setElementHealth (source, 100) end end ) لا اخوي الدرع ضبط بس انا اقصد ان الشخصيه الي م ضبطت ! Link to comment
EL-JoKeR Posted January 16, 2015 Share Posted January 16, 2015 addEventHandler ("onPlayerSpawn", root, function () if getPlayerTeam (source) and getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Group") == "W7H" then setElementPosition (source, 140.32225,1379.53491,1088.36719) setElementDimension (source, 0) setElementInterior (source, 5) setPedArmor (source, 100) setElementHealth (source, 100) setElementModel (source, 230 ) end end ) Link to comment
iKSApro Posted January 16, 2015 Share Posted January 16, 2015 فهموه وين الخطاء طيب ^ لان كان player مو معرف استبدله بـ source Link to comment
The Killer Posted January 16, 2015 Share Posted January 16, 2015 float posX, float posY, float posZ, float spawnRotation, team theTeam, int theSkin, int theInterior, int theDimension posX: احداثيات انتقال الاعب posY: احداثيات انتقال الاعب posZ: احداثيات انتقال الاعب spawnRotation: إتجاه الاعب theTeam: تيم الاعب theSkin: الشخصيه theInterior: الانترور theDimension: العالم الوهمي * The source of this event is the player that just spawned. Link to comment
AboShanab Posted January 16, 2015 Share Posted January 16, 2015 انا مو عارف شنو الفايده من الكود بالبداية تسوي له سباون بعدين تغير احداثياته ليه م تسوي سباون للاحداثيات اللي انت تبغاها وخلاص ؟ 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