06.09.2014, 09:13
for(new i = 1; i < MAX_CHAT_
LINES-1; i++) Chat[i] = Chat[i+1];
new ChatSTR[128];
GetPlayerName
(playerid,ChatSTR,sizeof(ChatSTR))
; format(ChatSTR,128,"[lchat]%s:
%s",ChatSTR, text[0] );
Chat[MAX_CHAT_LINES-1] =
ChatSTR;
if(PlayerInfo[playerid][Caps] == 1)
UpperToLower(text);
if(ServerInfo[NoCaps] == 1)
UpperToLower(text);
if(ServerInfo[DisableChat] == 1) {
SendClientMessage
(playerid,red,"Chat has been
disabled");
return 0;
}
LINES-1; i++) Chat[i] = Chat[i+1];
new ChatSTR[128];
GetPlayerName
(playerid,ChatSTR,sizeof(ChatSTR))
; format(ChatSTR,128,"[lchat]%s:
%s",ChatSTR, text[0] );
Chat[MAX_CHAT_LINES-1] =
ChatSTR;
if(PlayerInfo[playerid][Caps] == 1)
UpperToLower(text);
if(ServerInfo[NoCaps] == 1)
UpperToLower(text);
if(ServerInfo[DisableChat] == 1) {
SendClientMessage
(playerid,red,"Chat has been
disabled");
return 0;
}