Jump to content
主视角中国

Recommended Posts

Posted

while(1)

{

for (local.p = 1; local.p <= $player.size; local.p++)

{

local.num = randomint 99999

$player[local.p] weaponcommand dual targetname ("weap" + local.num)

if($("weap" + local.num).model != "models/weapons/kar98.tik" && $("weap" + local.num).model != NIL)

{

$player[local.p] takeall

$player[local.p] give "models/weapons/kar98.tik"

waitframe

$player[local.p] useweaponclass rifle

}

}

wait 1

}

以上代码可以把玩家手中的武器全换成KAR98

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...