26.09.2012, 10:52
Quote:
Falae bruninho_step
O Cara que copiou meu Gm ... Serб que tem algo parecido entre seu code й o original da BCV ? pawn Код:
Se liga: http://creativecommons.org/licenses/by-nc-nd/3.0/br/ |
notei a observar que ate o total de strings e igual.
#edit eu nao testei o codigo mais eu compilei assim e nao deu erro olha
pawn Код:
#define VERMELHO_ESCURO 0xFF0000AA
enum Info
{
pAdmin
};
new PlayerInfo[MAX_PLAYERS][Info];
CMD:sos(playerid, params[])
{
new String[128];
new Texto[126], snd[MAX_PLAYER_NAME];
GetPlayerName(playerid,snd,sizeof(snd));
if(sscanf(params, "s[126]", Texto)) return SendClientMessage(playerid, VERMELHO_ESCURO, "[x] Use /sos [Dъvida aqui]");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pAdmin] > 0)
{
format(String, sizeof(String), "{FA5282}[ HELP ] por %s [%d]: %s", snd, playerid, Texto);
GameTextForPlayer(i, "~r~NOVATO PEDIU AJUDA!", 3000, 3);
SendClientMessage(i, 0xEAEA00AA, String);
}
}
SendClientMessage(playerid, VERMELHO_ESCURO, "[ > ] Pedido de ajuda enviado com sucesso!");
return 1;
}