mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
alt mode
This commit is contained in:
parent
81d305ec54
commit
c578dce2d6
@ -2002,9 +2002,9 @@ prone()
|
|||||||
*/
|
*/
|
||||||
changeToWeap(weap)
|
changeToWeap(weap)
|
||||||
{
|
{
|
||||||
toks = strtok(weap, "_");
|
if (maps\mp\gametypes\_weapons::isAltModeWeapon(weap))
|
||||||
if (toks[0] == "gl" || isSubStr(weap, "shotgun_attach_"))
|
|
||||||
{
|
{
|
||||||
|
self botWeapon("");
|
||||||
self setSpawnWeapon(weap);
|
self setSpawnWeapon(weap);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user