07.10.2013, 20:10
(
Последний раз редактировалось DouglasRamirez; 07.10.2013 в 20:21.
Причина: Adding something
)
Here, sorry for the late reply.
but please help
but please help
pawn Код:
CMD:c(playerid, params[]) {
if((PlayerInfo[playerid][pHelper] >= 2 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pDonateRank] >= 5) && advisorchat[playerid]) {
if(!isnull(params)) {
new szMessage[128];
format(szMessage, sizeof(szMessage), "%s %s: %s", ARank(playerid), GetPlayerNameEx(playerid), params);
SendAdvisorMessage(COLOR_COMBINEDCHAT, szMessage);
Log("logs/cchat.log", szMessage);
}
else SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/c) [staff chat]");
}
return 1;
}