محمد اعطيك الكود مع الاشخاص ؟
local xRoot = getRootElement()
xOld = { }
function xGetOldPlayerName ( )
local xName = getPlayerName ( source )
local xSerial = getPlayerSerial(source)
if xOld[tostring(xSerial)] then
if xOld[tostring(xSerial)] ~= xName then
local xOldName = xOld[tostring(xSerial)]
outputChatBox(" #0010FF[ #c0c0c0Name Back #0010FF] #0010FF[ #c0c0c0"..xName.."#0010FF] #c0c0c0The Name Back In Njom #0010FF[ #c0c0c0"..xOldName.."#0010FF]", root, 255, 255, 0, true)
xOld[xSerial] = xName
end
else
xOld[xSerial] = xName
end
end
addEventHandler ( "onPlayerJoin", xRoot, xGetOldPlayerName )
type="server" />