Have warning
#3

Download YSI includes (by pressing the Download button)
Then you need to put it in pawno/includes.
Then you need to include y_va.inc like:
Код:
//after a_samp
#include <[PATH_TO_Y_VA(from YSI folder)]/y_va> //Remember to change the thing that is underlined
And now declare a function like:
Код:
SSM(playerid,color,fmat[],va_args<>)
{
    new msg[100];
    va_format(msg,sizeof(msg),fmat,va_start<3>); // 3 represents the number of arguments before va_args
    return SendClientMessage(playerid,color,msg);
}
Reply


Messages In This Thread
Have warning - by TYDS - 28.08.2017, 10:06
Re: Have warning - by Vince - 28.08.2017, 10:15
Re: Have warning - by 10MIN - 28.08.2017, 11:39

Forum Jump:


Users browsing this thread: 2 Guest(s)