nony Posted October 10, 2012 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)
./BlackBird# Posted October 10, 2012 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)
abu5lf Posted October 10, 2012 Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end )
nony Posted October 10, 2012 Author Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ
./BlackBird# Posted October 10, 2012 Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ و مين قالك يصير 1 جربته؟
nony Posted October 10, 2012 Author Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 100 ) end ) يسير الدم %1 خخخخخخخخخ و مين قالك يصير 1 جربته؟ اكيد جربته ~.~
./BlackBird# Posted October 10, 2012 Posted October 10, 2012 جرب ذا addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 0) setElementHealth(source,100) end )
Mr.T9 Posted October 10, 2012 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)
abu5lf Posted October 10, 2012 Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end )
hassan.k.s.a Posted October 10, 2012 Posted October 10, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح -- وبنسبه لصاحب الموضوع بعطيك معلومه setPedStat اقلب او اكثر الـ تلاقيها في الفري روم اف1
abu5lf Posted October 11, 2012 Posted October 11, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح شاطر ي بطل
nony Posted October 11, 2012 Author Posted October 11, 2012 جرب addEventHandler( 'onPlayerWasted', getRootElement( ), function() setPedStat ( source, 24, 569 ) end ) الكود صحيح -- وبنسبه لصاحب الموضوع بعطيك معلومه setPedStat اقلب او اكثر الـ تلاقيها في الفري روم اف1 تسسسسلم ايديك على المعلومه ^^
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