Format message
#8

I tried this

Код:
SFM(playerid, color, en[], fr[], va_args<>)
{
    switch( playerVariables[ playerid ][ pLanguage ] )
    {
        case 2: va_format(gString, sizeof (gString), fr, va_start<3>);
        case 1: va_format(gString, sizeof (gString), en, va_start<3>);
    }
    return SendClientMessage(playerid, color, gString);
}
But the server crash...
Reply


Messages In This Thread
Format message - by None1337 - 11.01.2018, 11:03
Re: Format message - by iLearner - 11.01.2018, 11:07
Re: Format message - by None1337 - 11.01.2018, 12:32
Re: Format message - by ISmokezU - 11.01.2018, 12:37
Re: Format message - by iLearner - 11.01.2018, 12:39
Re: Format message - by jasperschellekens - 11.01.2018, 12:40
Re: Format message - by ISmokezU - 11.01.2018, 12:53
Re: Format message - by None1337 - 11.01.2018, 13:41
Re: Format message - by DaniceMcHarley - 11.01.2018, 13:43
Re: Format message - by None1337 - 11.01.2018, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)