Jump to content

عندي مشكلة في مود


Recommended Posts

عندي مشكلة في مود topchat

مسوي كل شيئ تمام بس مدري وين المشكلة

exports.guimessages:outputTopChat ("#FF0000|~|~| #00FF00The #00FF00Admin #FF0000" .. name .. " #FF0000 Has#00FF00 Cleared#FF0000 The#00FF00 Chat #FF0000|~|~|", getRootElement(), 255, 0, 0, true ) 

Link to comment

موجود الشرح بصفحة المود

للسيرفر

triggerClientEvent(player/root sendTo, "outputTopChat", root, string theMessage, int colorR, int colorG, int colorB) 

مثال للسيرفر

triggerClientEvent(root, "outputTopChat", root, "Hello world", 0, 255, 0) 

للكلينت

triggerEvent("outputTopChat", root, string theMessage, int colorR, int colorG, int colorB) 

مثال للكلينت

triggerEvent("outputTopChat", root, "Hello world", 0, 255, 0) 

Link to comment

مشكووور تابل تعبتك معاي بس ابي شيئ اخير اذا تقدر

ابي الكلام يجي في وسط المربع مو على يسار المربع

Edite 2

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

Server.lua:3: Bad argument

function outputTopChat(text, to, r, g, b) 
    if text then else return false end 
    triggerClientEvent(to or root, "outputTopChat", to or root, text, r or 255, g or 255, b or 255) 
end 

Link to comment
مشكووور تابل تعبتك معاي بس ابي شيئ اخير اذا تقدر

ابي الكلام يجي في وسط المربع مو على يسار المربع

Edite 2

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

Server.lua:3: Bad argument

function outputTopChat(text, to, r, g, b) 
    if text then else return false end 
    triggerClientEvent(to or root, "outputTopChat", to or root, text, r or 255, g or 255, b or 255) 
end 

خطططا .

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