引用:
原帖由 leo221094 於 2014-6-6 22:15 發表
一係你upload個sp上黎睇下改完點解唔work
cut 果幾段出黎
==========================================================================
SetAISpawnCvars()
{
FasterSpawn = GetConVarBool(hFasterSpawn);
if (FasterSpawn)
SetConVarInt(FindConVar("z_spawn_safety_range"), 0); <<<<<<<<< "z_spawn_old_safety_range"
else
ResetConVar(FindConVar("z_spawn_safety_range")); <<<<<<<<< "z_spawn_old_safety_range"
}
==========================================================================
{
if(SpawnQueue
< 0) //stops if the current array index is out of bound
break;
new bot = CreateFakeClient("Infected Bot");
if (bot != 0)
{
ChangeClientTeam(bot,TEAM_INFECTED);
CreateTimer(0.1,kickbot,bot);
}
CheatCommand(client, "z_spawn", Spawns[SpawnQueue]); <<<<<<< "z_spawn _old"
#if DEBUG_SPAWNS
LogMessage("[AIS] Spawned %s", Spawns[SpawnQueue]);
#endif
}
==========================================================================
{
WitchTimerStarted = false;
if (LeftSafeRoom)
{
new client = GetAnyClient();
if (client)
{
if (WitchCount < WitchLimit)
ExecuteCheatCommand(client, "z_spawn", "witch", "auto"); <<<<<< "z_spawn _old" StartWitchWaitTimer(waitTime);
}
else
StartWitchWaitTimer(waitTime+1.0);
}
return Plugin_Handled;
}
================================================================================
以上標示位置全數改為 z_spawn_old 跟住就唔識出特感
[
本帖最後由 【闇影】 於 2014-6-6 22:51 編輯 ]