Command question
#1

Hello i have a question with this if query, what i will: that you can use this command if you are one of them so if you vip and not admin you can use it and if you admin and not vip you can use it and if you vip and admin you can use it too, i tried something, but it don't working:

Код:
if(pInfo[playerid][pAdminLevel] >= 2 && pInfo[playerid][pVipLevel] >= 1)
	{
Can anyone help me?
Reply
#2

pawn Код:
if(pInfo[playerid][pAdminLevel] < 2 || pInfo[playerid][pVipLevel] < 1) return SendClientMessage(playerid, 0xFF0000FF, "You can't use this command.");
I like this way.

If you are admin and if you are not VIP you can use it.

If you are VIP and if you are not admin you can use it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)