Commands involving an ID.
#5

Quote:
Originally Posted by Syntax
Посмотреть сообщение
Any ID can use the commands, providing they're the right admin and such, although, the command only works on ID 0. For example, if I'm ID 7 and I use the command /setskin on ID 9, then it wouldn't set ID 9's skin, it'd set ID 0's skin, insead.
Ok get it,does this commands loop the players when performed?

If don't,it's normal.As i know,every cmd that need an ID to perform,need to loop the players:

pawn Код:
for(new i; i<MAX_PLAYERS; i++) // loops all players
    {
      //Your code here
    }
For: "Any ID can use the commands" - You've to set a variable to check if player is admin,according to your admin system.
Reply


Messages In This Thread
Commands involving an ID. - by Syntax - 30.12.2011, 16:24
Re: Commands involving an ID. - by James Coral - 30.12.2011, 16:26
Re: Commands involving an ID. - by Face9000 - 30.12.2011, 16:32
Re: Commands involving an ID. - by Syntax - 30.12.2011, 16:35
Re: Commands involving an ID. - by Face9000 - 30.12.2011, 16:44
Re: Commands involving an ID. - by Syntax - 30.12.2011, 16:50
Re: Commands involving an ID. - by Calgon - 30.12.2011, 16:54
Re: Commands involving an ID. - by Ash. - 30.12.2011, 16:57
Re: Commands involving an ID. - by Face9000 - 30.12.2011, 17:01
Re: Commands involving an ID. - by Ash. - 30.12.2011, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)