Rectus
Stockholm, Stockholms Lan, Sweden
• Six-axis Robotic Hog Head Dropping - capable of line speeds up to 1200 heads per hour.
Twitter: https://twitter.com/rectus_sa
GitHub: https://github.com/Rectus
• Six-axis Robotic Hog Head Dropping - capable of line speeds up to 1200 heads per hour.
Twitter: https://twitter.com/rectus_sa
GitHub: https://github.com/Rectus
Currently Online
Workshop Showcase
A calm remote island with a small cabin. Roughly modeled on islands in the archipelagos of the baltic sea. Features: Real-time day-night cycle, with optional presets Almost Flagship level door physics Optional custom locomotion modes and player physics Opt
614 ratings
Created by - Rectus
Rarest Achievement Showcase
Rectus 16 Apr @ 3:14pm 
You would have to iterate though the players. I haven't used VSLib in a long time, so I can't remember exactly how it's used. It might be better to ask about it on the L4D2 discussion forums.
Гидравлика 16 Apr @ 3:09pm 
sorry, i'm not good at programming, i need to do this or what ?
if(Player("!nick").isBot())
{
Rectus 16 Apr @ 7:42am 
VSLib has a Player.IsBot() method.
Гидравлика 16 Apr @ 5:57am 
I tried to add: if (Player("!player").GetCharacterName != "Nick") but unfortunately this is wrong:steamthumbsdown:
Гидравлика 16 Apr @ 5:53am 
Rectus, u need help(( please :steamsad::steamsad::steamsad:

I have a script that deletes the inventory of a survivor, but I need to get rid of weapons exclusively from bots, i use VSLIB

( for example, if the player chose Nick as a survivor )

local inventory = Player("!nick").GetHeldItems();
if ( inventory )
{
foreach (wep in inventory)
wep.KillEntity();
}
Гидравлика 14 Apr @ 1:09pm 
its good,
thank you very much:steamthumbsup::steamthumbsup::steamthis: