Jump to content

طريقة عمل الشوت للكونسل


Recommended Posts

addEvent ( "aPlayer", true ) 
addEventHandler ( "aPlayer", root,  
    function ( player, action, message ) 
        if ( action == "shout" ) then 
            for _,thePlayer in ipairs ( getElementsByType ( "player" ) ) do 
                if ( isGuestAccount ( getPlayerAccount ( thePlayer ) ) == false ) then 
                    if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Console" ) ) ) then 
                        outputChatBox ( " ( " .. getPlayerName ( source ) .. " ) " .. getPlayerName ( player ) .. " : " .. message, thePlayer, 255, 100, 30 ) 
                    end 
                end 
            end 
        end 
    end 
) 

ملاحضة:

player: اللاعب المرسل اليه

source: اللاعب الذي قام بالإرسال

:D

Link to comment
addEvent ( "aPlayer", true ) 
addEventHandler ( "aPlayer", root,  
    function ( player, action, message ) 
        if ( action == "shout" ) then 
            for _,thePlayer in ipairs ( getElementsByType ( "player" ) ) do 
                if ( isGuestAccount ( getPlayerAccount ( thePlayer ) ) == false ) then 
                    if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Console" ) ) ) then 
                        outputChatBox ( " ( " .. getPlayerName ( source ) .. " ) " .. getPlayerName ( player ) .. " : " .. message, thePlayer, 255, 100, 30 ) 
                    end 
                end 
            end 
        end 
    end 
) 

ملاحضة:

player: اللاعب المرسل اليه

source: اللاعب الذي قام بالإرسال

:D

اقدر احط الاكواد كمود جديد او اعدل بلوحة الادمن ؟؟

Link to comment
addEvent ( "aPlayer", true ) 
addEventHandler ( "aPlayer", root,  
    function ( player, action, message ) 
        if ( action == "shout" ) then 
            for _,thePlayer in ipairs ( getElementsByType ( "player" ) ) do 
                if ( isGuestAccount ( getPlayerAccount ( thePlayer ) ) == false ) then 
                    if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Console" ) ) ) then 
                        outputChatBox ( " ( " .. getPlayerName ( source ) .. " ) " .. getPlayerName ( player ) .. " : " .. message, thePlayer, 255, 100, 30 ) 
                    end 
                end 
            end 
        end 
    end 
) 

ملاحضة:

player: اللاعب المرسل اليه

source: اللاعب الذي قام بالإرسال

:D

اقدر احط الاكواد كمود جديد او اعدل بلوحة الادمن ؟؟

تقدر تسوي الإثنين

Link to comment
addEvent ( "aPlayer", true ) 
addEventHandler ( "aPlayer", root,  
    function ( player, action, message ) 
        if ( action == "shout" ) then 
            for _,thePlayer in ipairs ( getElementsByType ( "player" ) ) do 
                if ( isGuestAccount ( getPlayerAccount ( thePlayer ) ) == false ) then 
                    if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Console" ) ) ) then 
                        outputChatBox ( " ( " .. getPlayerName ( source ) .. " ) " .. getPlayerName ( player ) .. " : " .. message, thePlayer, 255, 100, 30 ) 
                    end 
                end 
            end 
        end 
    end 
) 

ملاحضة:

player: اللاعب المرسل اليه

source: اللاعب الذي قام بالإرسال

:D

اقدر احط الاكواد كمود جديد او اعدل بلوحة الادمن ؟؟

تقدر تسوي الإثنين

شكراًًً لك :):mrgreen:

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