24.06.2013, 13:42
His point is to have one define for all stocks, not one define for each function, so you could do stuff like
As far as i know this isnt possible, as you cant access the function body in a define, so you could only affect the header of the function, but not leave out the whole function.
I also suggest you to avoid redefining function like this again and again. It will get harder to see which function really is used if you got 5 different ones spread over your gamemode and all the includes.
pawn Код:
mystock function1(params) {
printf("blablabla");
}
//this one will be ignored
mystock function1(params) {
printf("albalbalb");
}
I also suggest you to avoid redefining function like this again and again. It will get harder to see which function really is used if you got 5 different ones spread over your gamemode and all the includes.