20.08.2017, 01:26
(
Последний раз редактировалось fxckshzt; 20.08.2017 в 04:23.
)
Quote:
e um asay dependendo da org seria assim
PHP код:
|
PHP код:
CMD:asay(playerid, params[])
{
new falar[128];
new string[128];
new nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
if(sscanf(params, "s", falar)) return SendClientMessage(playerid, -1,"[CORRETOR]: Use /asay [texto]");
if(!IsPlayerAdmin(playerid))
{
format(string, sizeof(string),"[GLOBAL MESSENGER]: %s - %s", nome, falar);
SendClientMessageToAll(-1, string);
}
if(!IsPlayerAdmin(playerid) == false)
{
format(string, sizeof(string),"[GLOBAL ADMINISTRAЗГO]: %s - %s", nome, falar);
SendClientMessageToAll(-1, string);
}
return 1;
}