Optional Parameter In Public Functions
#3

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
For a example to send admin message to certain levels.

pawn Код:
public SendAdminMessage ( color, string [ ], aLvl = -1 )
Which also means if you don't enter a parameter for the aLvl it will be automatically -1 and you could send it to all admin levels.
Okay, that makes sense. Thank you for that, I really appreciate it!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)