Jump to content

x[سؤال]x عن العاجل #


Recommended Posts

سوي تريقر سيرفر

بالتريقر حق السيرفر اعمل لوب لكل اللاعبين

كذا مثلا

for i,mz in ipairs (getElementsByType('player')) do

triggerClientEvent(mz,'play',mz)

بالتريقر حق الكلنت سوي تشغيل الصوت

بس :/

Link to comment

function dxDrawFramedText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, frameColor, colorCoded ) 
color = color or tocolor ( 0, 0, 0, 50 ) 
frameColor = frameColor or tocolor ( 0, 0, 0, 255 ) 
scale = scale or 1.1 
font = font or "default" 
alignX = alignX or "left" 
alignY = alignY or "top" 
clip = clip or false 
wordBreak = wordBreak or false 
postGUI = postGUI or false 
colorCoded = colorCoded or false 
text = message:gsub ( '#%x%x%x%x%x%x', '' ) 
dxDrawText (text, left + 1, top + 1, width + 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left + 1, top - 1, width + 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left - 1, top + 1, width - 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left - 1, top - 1, width - 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI,  
  
colorCoded ) 
end 
      
addEventHandler ( "onClientRender", root, 
function ( ) 
local data = getElementData ( resourceRoot, "3ajel" ) 
if ( data ) then 
local Name = tostring ( data[1] ) or "" 
local Message = tostring ( data[2] ) or "" 
dxDrawFramedText ( "* ".. Name ..": #FFFFFF".. Message, 14, 571, 766, 605, tocolor ( 255, 255, 255, 255 ), 1.00, "default- 
  
bold", "left", "top", false, false, false, false, true ) 
end 
end) 
      
bindKey ( "u", "down", "chatbox", "AM" ) 
Link to comment
function dxDrawFramedText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, frameColor, colorCoded ) 
color = color or tocolor ( 0, 0, 0, 50 ) 
frameColor = frameColor or tocolor ( 0, 0, 0, 255 ) 
scale = scale or 1.1 
font = font or "default" 
alignX = alignX or "left" 
alignY = alignY or "top" 
clip = clip or false 
wordBreak = wordBreak or false 
postGUI = postGUI or false 
colorCoded = colorCoded or false 
text = message:gsub ( '#%x%x%x%x%x%x', '' ) 
dxDrawText (text, left + 1, top + 1, width + 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left + 1, top - 1, width + 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left - 1, top + 1, width - 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText (text, left - 1, top - 1, width - 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak,  
  
postGUI, colorCoded ) 
dxDrawText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI,  
  
colorCoded ) 
end 
      
addEventHandler ( "onClientRender", root, 
function ( ) 
local data = getElementData ( resourceRoot, "3ajel" ) 
if ( data ) then 
local Name = tostring ( data[1] ) or "" 
local Message = tostring ( data[2] ) or "" 
dxDrawFramedText ( "* ".. Name ..": #FFFFFF".. Message, 14, 571, 766, 605, tocolor ( 255, 255, 255, 255 ), 1.00, "default- 
  
bold", "left", "top", false, false, false, false, true ) 
end 
end) 
      
bindKey ( "u", "down", "chatbox", "AM" ) 

ما صار يظظهر اصلا

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...