Changing weapon in scripts

How i put auto change weapon?(lastinv i think but im not sure) when i shoot with xbow zoom?

Where is this alias?..For example:1 shoot xbow zoom, after the script change weapon in crowbar, and so on with xbow shoots.

Well, lastinv basically changes to the last weapon used.

Now if you need to use a specific weapon the command is "use <entity classname>"
In your case that would be “use weapon_crossbow”

1 Like