Little help
#1

Help with this

All can use this:
pawn Код:
if(PlayerInfo[playerid][Level] >=1) return SendClientMessage(playerid, RED, "Only admins use this.");
Level 1 can't use this:
pawn Код:
if(PlayerInfo[playerid][Level] <=1) return SendClientMessage(playerid, RED, "Only admins use this.");
I need only so no admins cant use this thing. And level 1, 2, 3, 4, 5 can.
Reply
#2

Quote:
Originally Posted by ZamaXor
Посмотреть сообщение
Help with this

All can use this:
pawn Код:
if(PlayerInfo[playerid][Level] >=1) return SendClientMessage(playerid, RED, "Only admins use this.");
Level 1 can't use this:
pawn Код:
if(PlayerInfo[playerid][Level] <=1) return SendClientMessage(playerid, RED, "Only admins use this.");
I need only so no admins cant use this thing. And level 1, 2, 3, 4, 5 can.
Код:
if(PlayerInfo[playerid][Level] == 0) return SendClientMessage(playerid, RED, "Only admins use this.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)