Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: od¶wieżenie
1. od¶wieżenie
Witam pisze drugi raz ten sam w?tek poniewa? nikt mi nie pomaga :/
W skr?cie dodaje mi osoby kt?re nie s? w duty


addCommandHandler
("admins",function(plr,cmd)
  
rcon={}
  
admin={}
  
support={}
  for 
i,v in pairs(getElementsByType("player")) do
    if 
getElementData(plr"duty") == 3 then
      table
.insert(rcon,getPlayerName(v))
    elseif 
getElementData(plr"duty") == 2 then
      table
.insert(admin,getPlayerName(v))
    elseif  
getElementData(plr"duty") == 1 then
      table
.insert(support,getPlayerName(v))
    
end
  end

outputChatBox
("rcon:",plr
for 
i,v in pairs(rcon) do 
outputChatBox " "..vgetRootElement(), 255255255true 
end 

outputChatBox
("admin:",plr
for 
i,v in pairs(admin) do 
outputChatBox " "..vgetRootElement(), 255255255true 
end 

outputChatBox
("support:",plr
for 
i,v in pairs(support) do 
outputChatBox " "..vgetRootElement(),255255255true 
end 

end