How to a continue making commands for level?
#1

Hi, on my server (SATDM mod) there's only 5 admin levels.
And i'am trying to continue with level6,
i will make my own commands, but what should i put there?
when i make command everyone can use it,
MY Q: how to make that commands to use only level6 admins?
if i need to post more info tell me what i need to post.
Reply
#2

well the system uses some type of a variable to hold the player level for example
pawn Код:
if(PlayerInfo[playerid][PlayerAdmin] <= 5)//if the player is level 5-
you need to find the variables your system that uses and add it to your command.
Reply
#3

Alright i do it. I need to create a new commands thank you for your reply!
Reply
#4

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
well the system uses some type of a variable to hold the player level for example
pawn Код:
if(PlayerInfo[playerid][PlayerAdmin] <= 5)//if the player is level 5+
you need to find the variables your system that uses and add it to your command.
Nope.. You're wrong.
It's >= 5 not the other way round.

Simply because, using <= 5 is anyone who has level 5 and lower.
Reply
#5

Quote:
Originally Posted by Windows32
Посмотреть сообщение
Nope.. You're wrong.
It's >= 5 not the other way round.

Simply because, using <= 5 is anyone who has level 5 and lower.
yes i got mixed up my mistake its 5-
i wright one thing and think of other ;X
Reply
#6

Haha, it's fine
Reply
#7

No prob, i do it, now i'am making new commands for level6.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)