nony Posted October 10, 2012 Share Posted October 10, 2012 السلام عليكم ورحمه الله وبركاته يا شباب عندي كود سوبر دم المشكله اذا مات الاعب مايرجع الدم %100 addEvent("Health",true) addEventHandler("Health", root, function() local PlayerMoney = getPlayerMoney(source) if (PlayerMoney >= 1500) then takePlayerMoney(source,1500) setPedStat(source, 24, 999) setElementHealth(source,200) outputChatBox("has bought", root, 255, 0, 0, true) else outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) end end) Link to comment
./BlackBird# Posted October 10, 2012 Share Posted October 10, 2012 كلنت function kill() triggerServerEvent("Health",getLocalPlayer()) addEventHandler ( "onClientPlayerSpawn", getLocalPlayer(), kill ) سيرفر addEvent("Health", true) addEventHandler("Health", getRootElement(), function () setPedStat(source, 24, 0) end) Link to comment
abu5lf Posted October 10, 2012 Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) Link to comment
nony Posted October 10, 2012 Author Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ Link to comment
./BlackBird# Posted October 10, 2012 Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ و مين قالك يصير 1 جربته؟ Link to comment
nony Posted October 10, 2012 Author Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ و مين قالك يصير 1 جربته؟ اكيد جربته ~.~ Link to comment
./BlackBird# Posted October 10, 2012 Share Posted October 10, 2012 جرب ذا addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 0) setElementHealth(source,100) end ) Link to comment
Mr.T9 Posted October 10, 2012 Share Posted October 10, 2012 خطا 888 جرب هذا addEvent("Health",true) addEventHandler("Health", root, function() local PlayerMoney = getPlayerMoney(source) if (PlayerMoney >= 1500) then takePlayerMoney(source,1500) setPedStat(source,24,999) setElementHealth(source,200) outputChatBox("has bought", root, 255, 0, 0, true) else outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) end end) Link to comment
abu5lf Posted October 10, 2012 Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) Link to comment
hassan.k.s.a Posted October 10, 2012 Share Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح -- وبنسبه لصاحب الموضوع بعطيك معلومه setPedStat اقلب او اكثر الـ تلاقيها في الفري روم اف1 Link to comment
abu5lf Posted October 11, 2012 Share Posted October 11, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح شاطر ي بطل Link to comment
nony Posted October 11, 2012 Author Share Posted October 11, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح -- وبنسبه لصاحب الموضوع بعطيك معلومه setPedStat اقلب او اكثر الـ تلاقيها في الفري روم اف1 تسسسسلم ايديك على المعلومه ^^ 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