Jump to content

x[ مساعدة ]x كود


Recommended Posts

السلام عليكم ورحمة الله وبركاته

انا مسوي مود وابيه مثلا كل 5 ثواني يكتب كلام في الشاشة مب في الشات

الكود :

  
setTimer( 
function() 
     dxDrawText("Text-Test ", 1024, 663, 1206, 682, tocolor(249, 240, 5, 255), 1, "default-bold", "left", "top", false, false, true, false, false) 
end, 5000, 0) 

Link to comment

مثال

لما الاعب يسجل دخول

  
  
-- Server  
  
dis = textCreateDisplay() 
text = textCreateTextItem("welcome",0.2,0.4,"medium",255,0,0,255,3) 
textDisplayAddText(dis,text) 
  
  
addEventHandler("onPlayerJoin",root, 
    function () 
        textDisplayAddObserver(dis,source) 
    end 
) 
  
addEvent("removeText",true) 
addEventHandler("removeText",root, 
    function () 
        textDisplayRemoveObserver(dis,source) 
    end 
) 
  
  
  

اذا في غلط الشباب يصححوه

Edited by Guest
Link to comment

طيب هو يقولي الخطأ في لكلنت

--Client 
  
setTimer( 
function() 
        dxDrawText("نص تجريبي", 1011, 658, 1153, 680, tocolor(250, 241, 4, 255), 1, "default-bold", "left", "top", false, false, true, false, false) 
end, 5000, 2500) 
  

يقولي الخطا في

tocolor!

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...