Raised This Month: $ Target: $400
 0% 

Max player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-03-2015 , 06:59   Re: Max player
Reply With Quote #1

What you see is called a macro. %0, %1, up to %9. are just arguments you pass.
A macro is replaced at compilation time.

For example, if you have IsPlayer(iAttacker) in your code, it will be replaced at compilation with 1 <= iAttacker <= g_iMaxPlayers
%0 is just a way to say that macro takes one argument.
__________________

Last edited by Arkshine; 01-03-2015 at 07:02.
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode