[Include] player_geolocation.inc
#8

Quote:
Originally Posted by SyS
View Post
That's not the case here ,those are macros which will be replaced by corresponding array it specifies, on compile time.
PHP Code:
#define GetPlayerCountry(%0)        player_geoInfo[%0][player_country] 
There is no "return" of a local reference of function block rather it's a replacement of array in the global scope on compilation.
I apologize then, I assumed that those were functions and not preprocessor macros, I haven't looked at the script myself. Thanks for pointing it out.
Reply


Messages In This Thread
player_geolocation.inc - by Twixxx - 22.08.2018, 20:55
Re: player_geolocation.inc - by PowerMwK - 22.08.2018, 23:06
Re: player_geolocation.inc - by Romz - 23.08.2018, 01:53
Re: player_geolocation.inc - by iLearner - 23.08.2018, 10:50
Re: player_geolocation.inc - by Twixxx - 23.08.2018, 11:47
Re: player_geolocation.inc - by iKarim - 23.08.2018, 15:52
Re: player_geolocation.inc - by SyS - 23.08.2018, 16:08
Re: player_geolocation.inc - by iKarim - 23.08.2018, 16:32
Re: player_geolocation.inc - by coool - 23.08.2018, 16:43
Re: player_geolocation.inc - by Jefff - 23.08.2018, 22:18

Forum Jump:


Users browsing this thread: 1 Guest(s)