Shorten this
#2

What's wrong with that? IMO it's the best approach for this solution.

To answer your question though, there's this:

Code:
stock bool:FALSE = false;
new scmExStr[144];
#define SendClientMessageEx(%0,%1,%2,%3) do{format(scmExStr,144,%2,%3);SendClientMessage(%0,%1,scmExStr);}while(FALSE)
But it has a few caveats

- You can't return this function
- You can't use it unless you give it more args (which you shouldn't anyways)
Reply


Messages In This Thread
Shorten this - by Symon - 02.02.2020, 19:59
Re: Shorten this - by Markski - 03.02.2020, 03:24
Re: Shorten this - by Symon - 03.02.2020, 07:47
Re: Shorten this - by Nero_3D - 03.02.2020, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)