전략게시판

전략게시판 [스튜디오]
스크립트02 - 무기가 없는 방에서 PK하는 핵쟁이를 제재하는 방법
2019.12.16 00:37 조회 : 2438
Lv. 50익스트림트롤 RedSiren 작성자 게시물 더보기
제재방법: 무한킬

>>>game.lua

function Game.Rule:OnPlayerAttack (victim, attacker, damage, weapontype, hitbox)
if victim:IsPlayer() == true then
if attacker:IsPlayer() == true then
function Game.Rule:OnUpdate(time)
attacker:Kill()
end
end
end
end

추천 : 0
댓글을 남기시려면 로그인 해주세요
댓글 : 1
  • 무기가 준비 되지 않는 곳에서 누굴 공격하는 모순을 발생시키면 그 사람은 죽는 스크립트 Lv. 657XtremeBhop 2019.12.16