.Dr.PrO Posted December 27, 2013 Share Posted December 27, 2013 local id = 13 - local ammo = 4000 addEventHandler,('onPlayerWasted',attacker,function spwanPlayer(source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) end ) Link to comment
!#NssoR_) Posted December 27, 2013 Share Posted December 27, 2013 مادري وش تبي تسوي بضبط ولكن بعدل الي شايفه خطأ بل كود addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) end ) Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 ؟؟ زدت علي تايمر لخروج بس ابي بس يخلص تايم يطلعه برا .. addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) end ) setTimer,(50000,1) outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(source).. ' ] ',source,255,255,0,true) Link to comment
TAPL Posted December 27, 2013 Share Posted December 27, 2013 ؟؟ ما فهمت وش الي تبي تسويه بالضبط Link to comment
!#NssoR_) Posted December 27, 2013 Share Posted December 27, 2013 غير مجرب ذذ timeouted = 1220 -- وقت خروجه من المقبره addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) setTimer(outAttac,timeouted,1) end ) function outAttac () spawnPlayer (source,0,0,0) outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(source).. ' ] ',source,255,255,0,true) end Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 ابي لما اي لاعب يموت روح الغرفه بعد 6 دقايق او اقل يطلع .. ويعطي الاسلحه الي فوق ال هم local id local ammo # Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 ازيد على مود if ( id and ammo) then giveWeapon(source,id,ammo) Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 ؟ timeouted = 1220 local id = 1 local ammo = 3131 addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) setTimer(outAttac,timeouted,1) end ) function outAttac () spawnPlayer (source,0,0,0) outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(source).. ' ] ',source,255,255,0,true) if ( id and ammo) then giveWeapon(source,id,ammo) end Link to comment
!#NssoR_) Posted December 27, 2013 Share Posted December 27, 2013 شيل هذا if ( id and ammo) then وجرب Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 وش الي اجرب .. ؟ + لو اشيله ما يوخد السلاح :] Link to comment
!#NssoR_) Posted December 27, 2013 Share Posted December 27, 2013 حـاول تصلحه بنفسك الكود بسيط Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 توني مبتدى # ومقدر اصلح وابي احد يسااعدني بس # Link to comment
arbna.us Posted December 27, 2013 Share Posted December 27, 2013 timeouted = 1220 local id = 1 local ammo = 3131 addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) setTimer(outAttac,timeouted,1) end ) function outAttac () spawnPlayer (source,0,0,0) outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(source).. ' ] ',source,255,255,0,true) giveWeapon(source,id,ammo) end كلام ناصر واضح صلح بنفسك لأن عندك غلط أنك ما حطيت إند حقت الفنكشن انا صلحته من عندي لأني ما أرى ضرورة لجملة الشرطية السابق Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 لحين انت صلحته ؟ ولا بس كلام ؟ Link to comment
iMr.Dawix~# Posted December 27, 2013 Share Posted December 27, 2013 جرب ذا --Server Side local timeouted = 1220 local id = 1 local ammo = 3131 addEventHandler,('onPlayerWasted',root,function (attacker) spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252) outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true) setTimer(outAttac,timeouted,1,source) end ) function outAttac(player) spawnPlayer (player,0,0,0) outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(player).. ' ] ',player,255,255,0,true) giveWeapon(player,id,ammo) end Link to comment
.Dr.PrO Posted December 27, 2013 Author Share Posted December 27, 2013 تم افاده وتم عمل سكربت وظيفه رجل المقابر # Link to comment
Recommended Posts