28.08.2017, 11:39
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:
And now declare a function like:
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
Код:
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); }