#Soking Posted January 21, 2016 Share Posted January 21, 2016 حاولت اسويها معرفت اني اخلي يوم يموت الاعب لو كان بتيم staff يعطيه كلام بشات ولو كان بتيم owner يعطيه برضو كلام بس مختلف Link to comment
</Mr.Tn6eL> Posted January 21, 2016 Share Posted January 21, 2016 سوي جدول زي كذا Teams = { ["staff"] = "الرسالة هنا", ["owner"] = "الرسالة هنا", } ولما تبغى تكتب الرسالة if Teams[getTeamName(getPlayerTeam(player))] then outputChatBox(Teams[getTeamName(getPlayerTeam(player))], player) end + ورينا محاولتك Link to comment
#Soking Posted January 21, 2016 Author Share Posted January 21, 2016 طب انا لو ابيها دم ودرع ؟ بدي احد يوضحها اكتثر مشان افهمها Link to comment
Mr.Ronaldo Posted January 21, 2016 Share Posted January 21, 2016 addEventHandler("onPlayerWasted",root,function() if getPlayerTeam(source) == getTeamFromName("staff") then outputChatBox("Wasted staff",source,255,0,0,false) elseif getPlayerTeam(source) == getTeamFromName("owner") then outputChatBox("Wasted Owner",source,255,0,0,false) end end) Link to comment
#Soking Posted January 21, 2016 Author Share Posted January 21, 2016 اما !! ولله ما جات على بالي شكرا رونالدو 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