Jump to content

ابي مود


Recommended Posts

ابي مود لما اللاعب لسة ما سجل دخوله ما يقدر يكتب حتى يسجل

بس ما ابيه يعطيه ميوت المود لين يسجل يتفك يعني لما يكتب ما يكتب له شيئ بالشات

بس لما يسجل يقدر يكتب

Link to comment
function BlockChat(playerSource) 
local sourceAccount = getPlayerAccount ( playerSource ) 
 if isGuestAccount ( sourceAccount ) then 
        cancelEvent () 
    end 
end 
addEventHandler( "onPlayerChat", getRootElement(), BlockChat ) 

ممكن تصلحوه :D

Link to comment
getPlayerAccount 
isGuestAccount 
cancelEvent() 
'onPlayerChat' 

function BlockChat(playerSource) 
local sourceAccount = getPlayerAccount ( playerSource ) 
 if isGuestAccount ( sourceAccount ) then 
        cancelEvent () 
    end 
end 
addEventHandler( "onPlayerChat", getRootElement(), BlockChat ) 

ممكن تصلحوه

addEventHandler( "onPlayerChat", root, 
function () 
    if isGuestAccount ( getPlayerAccount ( source ) ) then 
        cancelEvent () 
    end 
end ) 

-_-

zZoD06O.png

ينقل إلى قسم البرمجة

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