BISON Posted May 8, 2014 Share Posted May 8, 2014 (edited) function giveweapon() giveWeapon( source, id ) --- اي دي السلاح end addEventHandler( "onPlayerSpawn", root, giveweapon ) addEventHandler( "onPlayerJoin", root, giveweapon ) Edited May 8, 2014 by Guest Link to comment
Mr-M3AND Posted May 8, 2014 Share Posted May 8, 2014 function giveweapon() giveWeapon( source, 31, 200 ) --- اي دي السلاح end addEventHandler( "onPlayerSpawn", root, giveweapon ) addEventHandler( "onPlayerJoin", root, giveweapon ) Link to comment
#DRAGON!FIRE Posted May 8, 2014 Share Posted May 8, 2014 id = ايدي السلأح . ammo = عدد الرصاصات . addEventHandler( "onPlayerSpawn", root, function( ) giveWeapon( source, id, ammo ) end ) Link to comment
Mr-M3AND Posted May 8, 2014 Share Posted May 8, 2014 ما اشتغل جرب اذا مااشتغل اعتقد المشكلة من عندك function giveweapon () setTimer(giveWeapon,100,1,source, 31, 200 ,true) end addEventHandler( "onPlayerSpawn", root, giveweapon ) addEventHandler( "onPlayerJoin", root, giveweapon ) Link to comment
</Mr.Tn6eL> Posted May 8, 2014 Share Posted May 8, 2014 ذذ الكود حقي مافي غلط بس الغلط انت هههههه Link to comment
BISON Posted May 8, 2014 Author Share Posted May 8, 2014 ههههههههههههههههههههههههههههههههههههههههههه والله انا ودي اتعلم البرمجه بس باجلها الى بعد الاختبارات + ولسه ابي احد يعلمني مع العلم انه عندي خبره بتعديل الكودات بس ما اعرف اسوي مودات بالله ادعولي عندي اختبار قدرات يوم الاحد 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