15.04.2015, 18:34
Why complication?
#Nero_3D your code won't compile
SendClientMessageToAll doesn't accept playerid argument(its actually color)
Код:
stock SendMessage(playerid,color,msg[]) { new idx1,idx2,str[128]; while(++idx1) { if(msg[idx1] == '\n') { strmid(string,msg,idx2,idx1); SendClientMessage(playerid,color,str); idx2 = idx1; } } }
SendClientMessageToAll doesn't accept playerid argument(its actually color)