admin chat
#2

Because or checking if the player is an admin AND the first character is ~, OR the first character is ANYTHING and the player is a VIP.
pawn Код:
if(text[0] == '~' && (PlayerInfo[playerid][gAdmin] > 0 || PlayerInfo[playerid][gVip] > 0))
Should do the job.
Reply


Messages In This Thread
admin chat - by Gh0sT_ - 26.09.2010, 11:02
Re: admin chat - by [XST]O_x - 26.09.2010, 11:05
Re: admin chat - by Gh0sT_ - 26.09.2010, 11:09
Re: admin chat - by [XST]O_x - 26.09.2010, 11:10
Re: admin chat - by Gh0sT_ - 26.09.2010, 11:21
Re: admin chat - by [XST]O_x - 26.09.2010, 11:25
Re: admin chat - by Gh0sT_ - 26.09.2010, 11:27
Re: admin chat - by [XST]O_x - 26.09.2010, 11:31
Re: admin chat - by Gh0sT_ - 26.09.2010, 11:34
Re: admin chat - by Gh0sT_ - 26.09.2010, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)