3tibe511 Posted August 25, 2012 Share Posted August 25, 2012 السلام عليكم طلب كود اذا كتبت كلمة في اف 8 يقوم بتغير التيم Link to comment
abu5lf Posted August 25, 2012 Share Posted August 25, 2012 addCommandHandler setPlayerTeam واذا تبي تسوي تيمات createTeam Link to comment
3tibe511 Posted August 25, 2012 Author Share Posted August 25, 2012 addCommandHandler setPlayerTeam واذا تبي تسوي تيمات createTeam سويت الكود بس ماني متأكد هو صحيح ولا لا ( function() if source == thePlayer then spawnteam) addCommandHandler("Robrrey") setPlayerTeam("Robrrey") end end Link to comment
TAPL Posted August 25, 2012 Share Posted August 25, 2012 addCommandHandler("Robrrey", function(player) setPlayerTeam(player,getTeamFromName("Robrrey")) end) Link to comment
3tibe511 Posted August 25, 2012 Author Share Posted August 25, 2012 يعطيك العافية تابل مدري كيف جيت مسرع Link to comment
3tibe511 Posted August 25, 2012 Author Share Posted August 25, 2012 تابل اذا ممكن ابغى مود عند دخول الماركر يجيه فلوس Link to comment
|Mr|-Talal07-| Posted August 25, 2012 Share Posted August 25, 2012 جرب ذا marker = createMarker(x,y,z,"cylinder",1,0,255,0,255) function money(hit,m) givePlayerMoney(hit,1000) end addEventHandler("onMarkerHit",marker,money) Link to comment
AHMAD1234 Posted August 27, 2012 Share Posted August 27, 2012 طيب يالغالي كان ممكن تحطها عشوائي باضافة local money = math.random(500,1000)-------الرقم يصير عشوائي بين 500 الى 1000 تصير كذا marker = createMarker(x,y,z,"cylinder",1,0,255,0,255) function money(hit,m) local money = math.random(500,1000) givePlayerMoney(hit,money) end addEventHandler("onMarkerHit",marker,money) اسف على التدخل بس حبيت اساعد اكثر 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