Jump to content

outputchatbox


Recommended Posts

Posted

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

هـ اليومين آحسس آني غبي برمجة xD

المهم ان عندي كود للشات بسس مو عارف اخليه يطلع كودات مثل

#FF0000

هذا الكود

outputChatBox ( "#FF0000ss " .. getPlayerCount() .. " ss", 255, 0, 0, true ) 
Posted

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

هـ اليومين آحسس آني غبي برمجة xD

المهم ان عندي كود للشات بسس مو عارف اخليه يطلع كودات مثل

#FF0000

هذا الكود

outputChatBox ( "#FF0000ss " .. getPlayerCount() .. " ss", 255, 0, 0, true )

ما فهمتك يعني تبيه لونه احمر ؟

Posted (edited)

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

هـ اليومين آحسس آني غبي برمجة xD

المهم ان عندي كود للشات بسس مو عارف اخليه يطلع كودات مثل

#FF0000

هذا الكود

outputChatBox ( "#FF0000ss " .. getPlayerCount() .. " ss", 255, 0, 0, true )

outputChatBox("#FF0000ss " .. getPlayerCount() .. " ss",source,0,255,0,true)

Edited by Guest
Posted
السلآآم عليكم ورحمة الله وبركاته

هـ اليومين آحسس آني غبي برمجة xD

المهم ان عندي كود للشات بسس مو عارف اخليه يطلع كودات مثل

#FF0000

هذا الكود

outputChatBox ( "#FF0000ss " .. getPlayerCount() .. " ss", 255, 0, 0, true )

outputChatBox("#FF0000ss " .. getPlayerCount() .. " ss",source,0,255,0,true)

انت ضبط يَ بعدي مشكؤور

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

هـ اليومين آحسس آني غبي برمجة xD

المهم ان عندي كود للشات بسس مو عارف اخليه يطلع كودات مثل

#FF0000

هذا الكود

outputChatBox ( "#FF0000ss " .. getPlayerCount() .. " ss", 255, 0, 0, true )

outputChatBox("#FF0000ss " .. getPlayerCount() .. " ss",source,0,255,0,true)

انت ضبط يَ بعدي مشكؤور

العفوا,

بالتوفيققٌ,,

Posted

ي اخووي المفروض تقول تبيه لكلنت ولا لسيرفر ..

لو قايل لسيرفر كان ضبططته لك ..

بس انت ما حددت شي

Posted
ي اخووي المفروض تقول تبيه لكلنت ولا لسيرفر ..

لو قايل لسيرفر كان ضبططته لك ..

بس انت ما حددت شي

getPlayerCount() 

-_-" واضح إنه سيرفر

Posted

وش ذي الردود 100000 رد ومافيه الا 1 صح !

لو تروح الويكي موجود مثال واضح يعني يمديك تنسخه تلصقه وخلاص ماله داعي موضوع ^.^

Posted
outputChatBox("#FF0000ss " .. getPlayerCount() .. " ss",source,0,255,0,true) 

بهالحآلة ما رح يظهر لجميع اللاعبين ، رح يظهر فقط للمصدر الي محدد بالكود حقه !

rootبـ source إذا تبيه للكل ؛ بدل كلمة #

Posted
outputChatBox("#FF0000ss " .. getPlayerCount() .. " ss",source,0,255,0,true) 

بهالحآلة ما رح يظهر لجميع اللاعبين ، رح يظهر فقط للمصدر الي محدد بالكود حقه !

rootبـ source إذا تبيه للكل ؛ بدل كلمة #

أتوقع يعرف يسويهآ,,

Posted
outputChatBox ("your words", getRootElement(),255,0,0,true) 
او  
outputChatBox("your words",0,255,0,true) 

الثاني خطا :mrgreen:

الثاني كلنت

مافيه

root

ولا

source

:mrgreen:

واذا كلنت ما يلون <#

Posted

@ Dawi

Did you read the wiki?

Client

bool outputChatBox ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] ) 

Required Arguments

text: The text string that you wish to send to the chat window. If more than 128 characters it will not be showed in chat.

Optional Arguments

NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.

r: The amount of red in the color of the text. Default value is 231.

g: The amount of green in the color of the text. Default value is 217.

b: The amount of blue in the color of the text. Default value is 176.

colorCoded: A boolean value determining whether or not '#RRGGBB' tags should be used.

Posted
@ Dawi

Did you read the wiki?

Client

bool outputChatBox ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] ) 

Required Arguments

text: The text string that you wish to send to the chat window. If more than 128 characters it will not be showed in chat.

Optional Arguments

NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.

r: The amount of red in the color of the text. Default value is 231.

g: The amount of green in the color of the text. Default value is 217.

b: The amount of blue in the color of the text. Default value is 176.

colorCoded: A boolean value determining whether or not '#RRGGBB' tags should be used.

No

+ بعض الكلام ما فهمته

+ انا اسويه بدون ويكي اكرهه كله الوان يجيب المرض بس اوقات اقراه

:roll::roll:

Posted
outputChatBox('Iam The Dam ClientSide', 255, 255, 0 ) -- no source or player in client. 
outputChatBox('Iam The Dam ServerSide', source, 255, 255, 0 ) --- must be source and colours. 

Posted
@ Dawi

Did you read the wiki?

Client

bool outputChatBox ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] ) 

Required Arguments

text: The text string that you wish to send to the chat window. If more than 128 characters it will not be showed in chat.

Optional Arguments

NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.

r: The amount of red in the color of the text. Default value is 231.

g: The amount of green in the color of the text. Default value is 217.

b: The amount of blue in the color of the text. Default value is 176.

colorCoded: A boolean value determining whether or not '#RRGGBB' tags should be used.

No

+ بعض الكلام ما فهمته

+ انا اسويه بدون ويكي اكرهه كله الوان يجيب المرض بس اوقات اقراه

:roll::roll:

اللي ابي اوصلةةة :mrgreen:

انة الكلنت مافية ارقمنت الاعب مثل ماتقول وبسس #

  • 1 month later...
Posted

بعد سححبة طويلة وكذاا نرجع نسأل بششي يتعلق بـ الكود اللي هو :

ابي استخدم

bindKey 

مثثل : /bind t chatbox say

يعني ابيه اذا ضغط "ت" يكتب في الشات

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