[DUV] Gang chat
#1

Seguintes Erros:
Quote:

D:\[YK]Tournament Clan\gamemodes\lsw.pwn(325) : error 017: undefined symbol "gTeam"
D:\[YK]Tournament Clan\gamemodes\lsw.pwn(325) : warning 215: expression has no effect
D:\[YK]Tournament Clan\gamemodes\lsw.pwn(325) : error 001: expected token: ";", but found "]"
D:\[YK]Tournament Clan\gamemodes\lsw.pwn(325) : error 029: invalid expression, assumed zero
D:\[YK]Tournament Clan\gamemodes\lsw.pwn(325) : fatal error 107: too many error messages on one line

Todos na Linha 325 Aqui
Quote:

public OnPlayerText(playerid, text[])
{
if(text[0] == '!')
{
new pname[MAX_PLAYER_NAME], string[128];

GetPlayerName(playerid, pname, sizeof pname);
strdel(string, 0, 1);

for(new i = 0; i < MAX_PLAYERS; i++)
{
if(gTeam[playerid] == gTeam[i])
{
format(string, sizeof string, "[TIME] %s: %s", pname, string);
SendClientMessage(i, 0xFFF000AA, string);
}
}
return 0;
}
return 1;

O que fiz de errado? Sou Meio novato sabem?
Reply
#2

eu tou com mesmo problema... mt foda.... Nгo sei definir cargos, lider, etc...
Reply
#3

Adiciona no topo do gm

static gTeam[MAX_PLAYERS];
Reply
#4

valeu Cara deu certo
Te devo uma.....
Reply
#5

Ixxi cara fui testar e deu erro Quando fala ! MSG aparece [TIME] brunosilva:
porem nao aparece o texto!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)