0 Üye ve 1 Ziyaretçi konuyu incelemekte.
addCommandHandler("çek", function(oyuncu) local hesapismi = getAccountName(getPlayerAccount(oyuncu)) -- komutu yazan kişinin hesap ismini çek local kelime = "[T.S.K]" -- isimde buluncak kelime if isObjectInACLGroup("user."..hesapismi, aclGetGroup("Admin")) then -- eğer hesapismi "Admin" grubunda ise local x,y,z = getElementPosition(oyuncu) -- komutu yazanın pos çek for i,oyuncular in pairs(getElementsByType("player")) do -- tüm oyuncuları döndür local isim = getPlayerName(oyuncular) -- isimlerini çek if isim:find(kelime) and oyuncular ~= oyuncu then -- eğer isimlerinde arancak kelime varsa ve bulunan oyuncu komutu yazandan başkaysa setElementPosition(oyuncular,x+2,y,z) -- oyuncunun pos ayarşla setElementDimension(oyuncular, getElementDimension(oyuncu)) -- dim ayarşa setElementInterior(oyuncular, getElementInterior(oyuncu)) -- int ayarla end end endend)