K̷i̷n̷g̷ x̷D̷ツ Posted February 27, 2017 Share Posted February 27, 2017 السلام عليكم ورحمة الله وبركاته ياريت اي شخص يساعدني باصلاح ذا عالسريع المشكله بالتلوين function consoletm() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then setPlayerTeam(source, conteam) bb = createBlipAttachedTo (source, 0 ) end end addEventHandler("onPlayerLogin",getRootElement(),consoletm) addEventHandler ( "onPlayerWasted", getRootElement(),consoletm) addEventHandler("onPlayerJoin",getRootElement(),consoletm) addEventHandler("onPlayerSpawn",getRootElement(),consoletm) setTimer(function() setBlipColor (bb ,math.random ( 255 ), math.random ( 255 ), math.random ( 255 )) end,100,0) الايليمينت يكتبلي خطاء ليه setBlipColor هذا المشكله يكتبلي الايليمينت خطاء وهوا صح Link to comment
Ahmed Ly Posted February 27, 2017 Share Posted February 27, 2017 function consoletm() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then setPlayerTeam(source, conteam) bb = createBlipAttachedTo (source, 53 ) setTimer(setBlipColor,100,0,bb,math.random ( 255 ), math.random ( 255 ), math.random ( 255 ),255) end end addEventHandler ( "onPlayerWasted", getRootElement(),consoletm) addEventHandler("onPlayerJoin",getRootElement(),consoletm) addEventHandler("onPlayerSpawn",getRootElement(),consoletm) Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted February 27, 2017 Author Share Posted February 27, 2017 شكراً يالطيب @Ahmed Ly #Edit: بس يالاخو انت كذا الغيت التايمر اذاً لون 1 ما يضل يتغيير اي شخص يساعدني Link to comment
iMr.WiFi..! Posted March 1, 2017 Share Posted March 1, 2017 القسم غلط وحاول تشوف ذذ الموضوع بنسبة لتصليح كودك : ) function consoletm() if not isGuestAccount( getPlayerAccount ( source )) then end if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then setPlayerTeam(source, conteam) bb = createBlipAttachedTo (source, 0 ) setTimer(function() setBlipColor (bb ,math.random ( 0, 255 ), math.random ( 0, 255 ), math.random ( 0, 255 )) end,300,0) end end addEventHandler("onPlayerLogin",getRootElement(),consoletm) addEventHandler ("onPlayerWasted", getRootElement(),consoletm) addEventHandler("onPlayerJoin",getRootElement(),consoletm) addEventHandler("onPlayerSpawn",getRootElement(),consoletm) 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