Blue Red Green Pink PORTALS
I redesigned the code, added support for another pair of portals, this is green with pink. Now !p with no argument sequentially creates a blue portal, a red portal, if both are created, deletes them. !p b will create a blue portal or, if already created, teleport it. By analogy: !p r for red, !p g for green, !p p for pink. sm_pd now allows you to manage your portals, !pd will remove all of your portals, !pd b or !pd r will remove a BlueRed pair, !pd g or !pd p will remove a GreenPink pair. The command for admins to remove all portals is called sm_pdall or !pdall, /pdall.
Convars remained as in the original plugin, the only thing is that the settings file is called l4d2_portals.cfg
Сommands:
- sm_p, or in chat !p, !p b, !p r, !p g, !p p
- for delete portals use command sm_pd for all, !pd b or !pd r for pair Blue-Red !pd g, !pd p for pair Green-Pink
- sm_pdall admin command to delete all portals