07.11.2013, 22:16
Hello, how to fix it?
Код:
#include <y_va> stock _Text_2Send(playerid,format[ ], va_args<>) { new kimenet [128]; //print("c(2)"); va_format(kimenet, sizeof (kimenet), format, va_start<2>); // print("c(3b)"); SendClientMessage(playerid,COLOR_WHITE,kimenet); // print("c(4)"); return 1; } //#define Text_2Send(%1,%2,%3,%4) if(ALL_PLAYERS == %1) { foreach(Player,defid) { _Text_2Send(defid,L(defid,%2,%3),%4); } } else { _Text_2Send(%1,L(%1,%2,%3),%4); } #define Text_22Send(ALL_PLAYERS,%1,%2,%3); foreach(Player,defid) { _Text_2Send(defid,L(defid,%1,%2),%3); } #define Text_2Send(%1,%2,%3,%4) _Text_2Send(%1,L(%1,%2,%3),%4)