20.02.2011, 15:30
Code:
stock CleanPlayerChat(playerid) { SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); SCM(playerid,WHITE," "); }
Code:
#define ClearChat(%1,%2) for(new cc; cc < %2; cc++) SendClientMessage(%1,0xFFFFFFAA," ")//Use ClearChat:(playerid, number of rows)