3tibe511 Posted August 25, 2012 Posted August 25, 2012 السلام عليكم طلب كود اذا كتبت كلمة في اف 8 يقوم بتغير التيم
abu5lf Posted August 25, 2012 Posted August 25, 2012 addCommandHandler setPlayerTeam واذا تبي تسوي تيمات createTeam
3tibe511 Posted August 25, 2012 Author Posted August 25, 2012 addCommandHandler setPlayerTeam واذا تبي تسوي تيمات createTeam سويت الكود بس ماني متأكد هو صحيح ولا لا ( function() if source == thePlayer then spawnteam) addCommandHandler("Robrrey") setPlayerTeam("Robrrey") end end
TAPL Posted August 25, 2012 Posted August 25, 2012 addCommandHandler("Robrrey", function(player) setPlayerTeam(player,getTeamFromName("Robrrey")) end)
3tibe511 Posted August 25, 2012 Author Posted August 25, 2012 تابل اذا ممكن ابغى مود عند دخول الماركر يجيه فلوس
|Mr|-Talal07-| Posted August 25, 2012 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)
AHMAD1234 Posted August 27, 2012 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) اسف على التدخل بس حبيت اساعد اكثر
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