04.07.2009, 12:46
I have no idea what this particular code is called, but I found it very useful when making commands that had optional strings.
https://sampwiki.blast.hk/wiki/Fast_Comm...tional_strings
Could someone tell me what this is called and where I can learn more about how to use it?
Thanks,
ledzep
https://sampwiki.blast.hk/wiki/Fast_Comm...tional_strings
Код:
... format(reason, sizeof (reason), "You have been banned%s%s.", reason[0] ? (" for: ") : (""), reason); ...
Thanks,
ledzep