I ran into the same thing when trying to apply sleep and follow packages. I did it using aliases, so I assumed the packages would take priority, and they do... but not on everybody, and not all the time. For me, none of it ever works on guards and I haven't nailed down why (though I haven't looked too deeply into it yet).
For your situation, is it possible to do something like maybe a SetPlayerTeammate?