04.08.2018, 18:06
Tell you what i'm gonna do instead, first of all you shouldn't use the OnPlayerCommandText normal command processor i adivce using ZCMD: https://sampforum.blast.hk/showthread.php?tid=91354
Second of all indentation read this: https://sampforum.blast.hk/showthread.php?tid=256961
1- Check on top if(!IsPlayerInGang) that will of course change depending on your variable then return SendClientMessage so they can't use the command.
2- Loop through all players using a 'for' loop or foreach and see if(IsPlayerInGang) SendClientMessage of course that will change depending on your variables and who is in that gang.
3- I don't even understand what you said there elaborate further.
Second of all indentation read this: https://sampforum.blast.hk/showthread.php?tid=256961
1- Check on top if(!IsPlayerInGang) that will of course change depending on your variable then return SendClientMessage so they can't use the command.
2- Loop through all players using a 'for' loop or foreach and see if(IsPlayerInGang) SendClientMessage of course that will change depending on your variables and who is in that gang.
3- I don't even understand what you said there elaborate further.