Small fix in voice.inc to stop changing voice permissions with a client's self.
Added the API functions for shoppinglist.inc but they don't do anything, they are just a sneak-peak into the way it will work, any feedback on your opinion would be nice.
This commit is contained in:
1 parent
1f09e1d0c7
commit
f4eb06d210
3 files changed
+116
No files matched your search
@@ -167,6 +167,12 @@ stock VoiceSetClientTeam(client, bool:zombie)
|
||||
continue;
|
||||
}
|
||||
|
||||
// No need to alter listening/speaking flags between one client.
|
||||
if (client == x)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Client can only listen/speak if the sender is on their team.
|
||||
new bool:canlisten = (zombie == InfectIsClientInfected(x));
|
||||
|
||||
|
||||
Reference in new issue
Block a user