發新話題
打印

有冇插件可以增加Tank or Witch 既出現率?

[Close]

有冇插件可以增加Tank or Witch 既出現率?

即係一關有3-4 隻Tank or 6-7 Witch ? Thanks~

TOP

插件都唔洗 打個指令就得

TOP

引用:
原帖由 辰夜 於 2009-12-13 18:25 發表
插件都唔洗 打個指令就得
要開sv cheat...? 我想有插件增加ramdom 出tank 既概率... thanks.

TOP

點隨機出tank既慨率呢- -??    tank就tank出幾多次就有   隨機出幾多次就冇啦  重有你想點慨率法 ?

TOP

複製內容到剪貼板
代碼:
#include <sourcemod>
#include <sdktools>
#define PLUGIN_VERSION  "0.0.0.1"

public Plugin:myinfo =
{
        name = "定時 ",
        author = "YSH=]",
        description = "簡單的定時出Tank插件",
        version = PLUGIN_VERSION,
        url = "http://ysh021003.no-ip.org/"
}

public OnPluginStart()
{
    CreateConVar("sm_tank_version", PLUGIN_VERSION, "插件版本", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
    CreateTimer(150.0, Tank, _, TIMER_REPEAT); //預設150秒出一次Tank
}

public Action:Tank(Handle:timer)
{
        new flags = GetCommandFlags("z_spawn");
        SetCommandFlags("z_spawn", flags & ~FCVAR_CHEAT);
        ServerCommand("z_spawn","tank","auto");
        SetCommandFlags("z_spawn", flags);
}
做唔到隨機
但整左定時(150秒)

[ 本帖最後由 YSH=] 於 2009-12-29 17:30 編輯 ]

TOP

嘩- -
你打左幾耐- -?
佢意思 =
每關正常都會出一隻tank, [[[當然有陣時冇
佢想每次出tank 既時侯,都係random,
可能一隻可能幾隻~

TOP

引用:
原帖由 zimber007 於 2009-12-26 13:52 發表
嘩- -
你打左幾耐- -?
佢意思 =
每關正常都會出一隻tank, [[[當然有陣時冇
佢想每次出tank 既時侯,都係random,
可能一隻可能幾隻~
This just is a Easy code,only 1~2 minutes can be done.

TOP

引用:
原帖由 tom1314 於 2009-12-26 13:55 發表

This just is a Easy code,only 1~2 minutes can be done.
差唔多啦

TOP

Dead Link, can you post the link again please, thanks.

TOP

引用:
原帖由 starjeff 於 2009-12-29 16:34 發表
Dead Link, can you post the link again please, thanks.
我原碼都放左你唔用?

TOP

係唔係就咁create smx file, then paste d code 上去? thanks

TOP

有出Tank 冇witch 可以set出Tank 後出witch

TOP

TOP

用左, 不過好似冇反應- -, tank 都係得0-1 隻 per map, please help

TOP

好易= = 用左無限屍之後開個sever.cfg得啦

我等等比我個sever.cfg你啦

TOP

發新話題