23.05.2013, 16:32
Using #define Instead of Stock here
Hello,
I have little stock to get the player file,
I want to use this code instead, Is it possible? here the code:
Thanks,
Rafael!
Hello,
I have little stock to get the player file,
Код:
stock GetPlayerFile(playerid) { new file[64]; format(file, sizeof(file), "players/%s.ini", GetName(playerid)); return file; }
Код:
#define GetPlayerFile(%0) "players/"#GetName(%0)".ini"
Rafael!