發新話題
打印

l4d_infectedbots.smx 一問

[Close]
引用:
原帖由 slunmak 於 2011-7-28 22:51 發表
唔該,

and  l4d_infectedbots.smx 有可能令場內同時有20多隻特感??

like 特感速遞

仲有求特感隱形插件

像perkmod2的Ghost Rider(Jockey90%隱形)

有插件可令特感隨機0-90%隱形嗎?? ...
複製內容到剪貼板
代碼:
#include <sourcemod>
#include <sdktools>
public Plugin:myinfo =
{
    name = "apple_W",
    author = "apple_W",
    description = "Change ",
    version = "1.0",
    url = ""
}
public OnPluginStart()
{
    HookEvent("player_spawn",SpawnEvent);
}
public Action:SpawnEvent(Handle:event,const String:name[],bool:dontBroadcast)
{
    new clientid = GetEventInt(event, "userid");
    new client = GetClientOfUserId(clientid);
if(GetClientTeam(client)==3)
  SetEntityRenderColor(client,255,255,255,GetRandomInt(0,255));
}

TOP

發新話題