This script isnt that useful, and you need LVL 3 admin or higher to do so. But it is somewhat entertaining for such a small peice of code.
function Spawnguards(%player, %count)
{
for(%i = 0; %i < %count; %i++)
{
say(0, "#spawn sloth "@ %player @"-Defender"@ %i @" default 0");
say(0, "#follow "@ %player @"-Defender"@ %i @" "@ %player @"");
}
}
Thats it. To exec, (assuming you exec it automatically via autoexec.cs) just type Spawnguards(Lucid, 4); and player "Lucid" will have 4 bots following him. Feel free to change it from sloth to whatever it is you want, I picked sloths because they move fast enough to keep up with you. You could charge people for having guards that follow them. They wont really 'guard' you; they will attack whoever isnt on your team (citizen).