- UID
- 3653698
- 主题
- 9
- 阅读权限
- 20
- 帖子
- 73
- 精华
- 0
- 积分
- 37
- 金钱
- 354
- 荣誉
- 0
- 人气
- 1
- 在线时间
- 44 小时
- 评议
- 0
- 帖子
- 73
- 精华
- 0
- 积分
- 37
- 金钱
- 354
- 荣誉
- 0
- 人气
- 1
- 评议
- 0
|
请问yeahya
我想把所有生还者的枪给偷后同时发配给所有人一个煤汽罐,具体的参数要怎么增写进去,因为玩家要是原来身上除了两把枪而没有其它东西在身上的话,连怪都推不了,所以同样能配发他们一样东西可以用来推怪
以下是原来你改好的参数
Vipdead()
{
new String:sbname[64] = "";
for(new i=1; i <= MaxClients; i++)
{
if(IsClientInGame(i) && GetClientTeam(i) == 2)
{
if(IsPlayerAlive(i))
{
for(new j = 0 ; j < 2 ; j++)
{
new weapon = GetPlayerWeaponSlot(i, j);
if(weapon != -1)
{
RemovePlayerItem(i, weapon);
RemoveEdict(weapon);
}
}
}
GetClientName(i, sbname, 64);
ServerCommand("sm_freeze \"%s\" \"30\"",sbname);
}
}
new anyclient = GetAnyClient();
if (anyclient == 0)
{
return;
}
bALLEnabled = true;
new String:command[] = "director_force_panic_event";
StripAndExecuteClientCommand(anyclient, command, "","","");
command = "z_spawn";
StripAndExecuteClientCommand(anyclient, command, "tank","","");
StripAndExecuteClientCommand(anyclient, command, "smoker","auto","");
StripAndExecuteClientCommand(anyclient, command, "smoker","","");
StripAndExecuteClientCommand(anyclient, command, "smoker","","");
StripAndExecuteClientCommand(anyclient, command, "boomer","auto","");
StripAndExecuteClientCommand(anyclient, command, "boomer","","");
StripAndExecuteClientCommand(anyclient, command, "hunter","","");
StripAndExecuteClientCommand(anyclient, command, "hunter","auto","");
bALLEnabled = false;
} |
|