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:
@ -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