How to do it correctly?
#1

Im trying to make a custom format,
Код:
stock format_ex(lang, str[], size, const text_eng, const text_heb, {Float,_}:...)
{
	switch(lang) {
	    case 1: format(str, size, text_heb, {Float,_}:...);
	    default: format(str, size, text_eng, {Float,_}:...);
	}
	return 1;
}
w/o success, hope you can help me to make it correctly
Reply
#2

Somebody knows how to do it?
Reply
#3

pawn Код:
stock format_ex(lang, str[], size, const text_eng, const text_heb, {Float,_}:...)
{
    switch(lang) {
        case 0: format(str, size, text_heb, {Float,_}:...); // This should start from 0
        default: format(str, size, text_eng, {Float,_}:...);
    }
    return 1;
}
Reply
#4

Lol, it could be 32, 12, 42, 10, 2, 5, 6... ^

You really cannot do this without adding a whole lot of #EMIT lines. Use y_va and seek the examples and just revamp on that.
Reply
#5

Okay, Thank you. :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)