AL-SAYED Posted October 24, 2012 Share Posted October 24, 2012 تابل عطاني كود توزيع في موضوع قديم addCommandHandler("gw", function(player, cmd, id, amount) local Team = getPlayerTeam(player) if Team and id and amount then local WeaponName = getWeaponNameFromID(tonumber(id)) for i, players in ipairs(getElementsByType("player")) do if Team == getPlayerTeam(players) then giveWeapon(players, tonumber(id), tonumber(amount)) outputChatBox(getPlayerName(player).." قد وزع "..WeaponName.." !", players, 255,0,0,true) end end end end) اشتغل لي مرة لكن الحين ما يشتغل <meta> <info author="ha7soon" version="1.0" name="giveweapons" type="script" /> <script src="33.lua" type="server" /> </meta> Link to comment
Tete omar Posted October 24, 2012 Share Posted October 24, 2012 الكود ما فيه أخطاء وكل شي تمام تآكد من انك في تيم .. Link to comment
AL-SAYED Posted October 24, 2012 Author Share Posted October 24, 2012 اي صح انا مو في تيم لان اسوي لروحي سلاب وبعدين ما يصير في تيم شلون اذا مات اخلي التيم يصير نفسه ما يتغير؟ Link to comment
Tete omar Posted October 24, 2012 Share Posted October 24, 2012 اي صح انا مو في تيملان اسوي لروحي سلاب وبعدين ما يصير في تيم شلون اذا مات اخلي التيم يصير نفسه ما يتغير؟ التيم نفسه نفسه ما يتغير Link to comment
AL-SAYED Posted October 24, 2012 Author Share Posted October 24, 2012 تم حل المشكله مشكور Link to comment
Tete omar Posted October 24, 2012 Share Posted October 24, 2012 تم حل المشكلهمشكور لا شكر على وآجب 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