[Ajuda]Problema Gang chat
#7

A Posiзгo do Cуdigo esta errada faзa assim:

pawn Код:
public OnPlayerText(playerid, text[])
{
UpperToLower(text);
if(text[0] == '!')
{
new string[128];    GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string), "[*Walkie Talkie] %s:  %s", string, text[1]);
printf("%s", string);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && gTeam[i] == gTeam[playerid]) SendClientMessage(i, GetPlayerColor(playerid), string);
}
return 0;
}
new string[128];
format(string,sizeof(string),"(id:%d): %s",playerid,text);
SendPlayerMessageToAll(playerid,string);
return 0;
}
Coloca [RESOLVIDO] a agradece -q
Reply


Messages In This Thread
[Ajuda]Problema Gang chat[RESOLVIDO]>Drakon - by Link_ - 28.07.2010, 02:12
Re: [Ajuda]Problema Gang chat - by [BR]JD - 28.07.2010, 22:56
Re: [Ajuda]Problema Gang chat - by Link_ - 28.07.2010, 23:28
Re: [Ajuda]Problema Gang chat - by zSuYaNw - 28.07.2010, 23:45
Re: [Ajuda]Problema Gang chat - by ipsBruno - 28.07.2010, 23:51
Re: [Ajuda]Problema Gang chat - by Link_ - 30.07.2010, 04:02
Re: [Ajuda]Problema Gang chat - by ipsBruno - 30.07.2010, 16:44
Re: [Ajuda]Problema Gang chat[RESOLVIDO]By Drakon - by Link_ - 31.07.2010, 00:51

Forum Jump:


Users browsing this thread: 3 Guest(s)