#STZ Posted January 22, 2017 Posted January 22, 2017 السلام عليكم و رحمة الله و بركاته الحين مسوي مهمة بنك و مسوي اذا لمس الماركر يحطه بجدول table.insert طيب الحين اذا مات بيصير في الجدول ما بيخرج ابيه يخرجه من الجدول ايش استخدم كنت احسب فيه شي اسمه table.remove
N3xT Posted January 22, 2017 Posted January 22, 2017 طيب فيه مثل الفنكشن اللي فوق http://www.lua.org/manual/5.1/manual.html#pdf-table.remove
#STZ Posted January 22, 2017 Author Posted January 22, 2017 ما لقيته في الويكي شكرا لك بجرب #Edit: addEventHandler("onClientPlayerDamage", localPlayer, function(attacker) if attacker and attacker ~= source then if getElementData(localPlayer, "MissionWarProtection") and getElementData(attacker, "GANG") and getElementData(source, "GANG") then cancelEvent() end end end) مشكلة ثانية ابي اذا اثنين معهم نفس الداتا ما يموتوا بعض #Edit: UP UP @N3xT @iPrestege
Recommended Posts