Jump to content

Error


Recommended Posts

addEvent("SendMessageToSupport",true) 
addEventHandler("SendMessageToSupport",root, 
function ( Sender , theText ) 
         if ( theText ) then 
         
     local row = guiGridListAddRow(GridePlayers) 
                playSoundFrontEnd(32) 
        if ( guiCheckBoxGetSelected ( DontChat ) == true ) then 
        if ( guiCheckBoxGetSelected ( HelpMe ) == true ) then 
        if ( guiCheckBoxGetSelected ( iHelp ) == true ) or ( guiCheckBoxGetSelected ( HelpMe ) == true ) then 
        guiGridListSetItemText(GridePlayers, row, 1, ""..theText.."", false, false) 
        guiGridListSetItemColor ( GridePlayers, row, 1, 12, 253, 0, 255 ) 
        else 
        exports["guimessages"]:outputClient("ook",255,255,255) 
                end 
            else 
            guiGridListSetItemText( GridePlayers, row, 1, ""..theText.."", false, false) 
            guiGridListSetItemColor ( GridePlayers, row, 1, 254, 221, 0, 255) 
                end 
else 
        exports["guimessages"]:outputClient("ook",255,255,255) 
            end 
            end 
    end 
) 

الكلام يظهر للكل ليه ؟

انا ابيه للاعب فقط

Link to comment

تبي الكلام الي يظهر بالقريد ليست للاعب الي ارسله بس؟

عدل التريقر بملف سيرفر

بدل المتغير الي بالتريقر من جهة السيرفر بـ متغير اللاعب

زي كذا مثلا

triggerClientEvent ( thePlayer, 'SendMessageToSupport', thePlayer ) 

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