Jump to content

طلب كود


Recommended Posts

-- client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
triggerServerEvent ("Cl",localPlayer,getPlayerName(localPlayer)) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
end 

-- server 
addEvent ("Cl",true) 
addEventHandler ("Cl",root, 
function (name) 
for i,k in ipairs (getElementsByType("player")) do 
triggerClientEvent (k,"CLEAR",k,name) 
end 
end 
) 
Link to comment

-- client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
triggerServerEvent ("Cl",localPlayer,getPlayerName(localPlayer)) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
end 

-- server 
addEvent ("Cl",true) 
addEventHandler ("Cl",root, 
function (name) 
for i,k in ipairs (getElementsByType("player")) do 
triggerClientEvent (k,"CLEAR",k,name) 
end 
end 
) 
Link to comment
-- client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
triggerServerEvent ("Cl",localPlayer,getPlayerName(localPlayer)) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
end 

-- server 
addEvent ("Cl",true) 
addEventHandler ("Cl",root, 
function (name) 
for i,k in ipairs (getElementsByType("player")) do 
triggerClientEvent (k,"CLEAR",k,name) 
end 
end 
) 

ما ظبط

Link to comment
-- client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
triggerServerEvent ("Cl",localPlayer,getPlayerName(localPlayer)) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
end 

-- server 
addEvent ("Cl",true) 
addEventHandler ("Cl",root, 
function (name) 
for i,k in ipairs (getElementsByType("player")) do 
triggerClientEvent (k,"CLEAR",k,name) 
end 
end 
) 

ما ظبط

Link to comment
  
--client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
name = getPlayerName(localPlayer) 
triggerServerEvent ( "Cl", localPlayer, name) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
end 
  

جرب

Link to comment
  
--client 
addEventHandler ("onClientGUIClick",clearButton, 
function () 
name = getPlayerName(localPlayer) 
triggerServerEvent ( "Cl", localPlayer, name) 
end 
) 
  
addEvent ("CLEAR",true) 
addEventHandler ("CLEAR",root, 
function (name) 
guiGridListClear (gridName) 
rw = guiGridListAddRow (gridName) 
guiGridListSetItemText (gridName,rw,1,"**CLEARED BY "..name.."**",false,false) 
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...