1. Список говнокодов пользователя pls3x

    Всего: 1

  2. Lua / Говнокод #21275

    −997

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    local r = LocalPlayer():GetRole()
       
       for _, p in pairs(player.GetAll()) do
    	  local cramprib = p:GetRole()
    	  if r != ROLE_TRAITOR then
             if IsValid(p) and cramprib == ROLE_DETECTIVE and p != LocalPlayer() then
                dpick:AddChoice(p:Nick(), p:UniqueID())
             end
    	  elseif r == ROLE_TRAITOR then
             if IsValid(p) and cramprib != ROLE_INNOCENT and p != LocalPlayer() then
                dpick:AddChoice(p:Nick(), p:UniqueID())
             end
          end		 
       end

    a != a

    pls3x, 27 Сентября 2016

    Комментарии (15)