27.11.2014, 22:27
Quando estava dando erro por causa do return estava assim:
E eu falei para vocк deixar assim:
Acretido que pode ter ficado uma parte:
pawn Код:
public OnPlayerText(playerid, text[])
{
new tmp[128];
if(text[0] == '!')
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 9.0, Pos[0], Pos[1], Pos[2]))
{
SendClientMessage(i, 0xE31919FF, tmp);
}
}
}
return 1;
}
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 80.0, 10000);
format(string,sizeof(string),"[Chat Torcida Uniformizada Terror Bicolor] %s (%i): {FFFFFF}%s",playerid,text);
SendPlayerMessageToAll(playerid,string);
return 0;
}
pawn Код:
public OnPlayerText(playerid, text[])
{
new tmp[128];
if(text[0] == '!')
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 9.0, Pos[0], Pos[1], Pos[2]))
{
SendClientMessage(i, 0xE31919FF, tmp);
}
}
}
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 80.0, 10000);
format(string,sizeof(string),"[Chat Torcida Uniformizada Terror Bicolor] %s (%i): {FFFFFF}%s",playerid,text);
SendPlayerMessageToAll(playerid,string);
return 0;
}
pawn Код:
public OnPlayerText(playerid, text[])
{
// Cуdigo
public OnPlayerText(playerid, text[])
{
new tmp[128];
if(text[0] == '!')
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 9.0, Pos[0], Pos[1], Pos[2]))
{
SendClientMessage(i, 0xE31919FF, tmp);
}
}
}
return 1;
}
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 80.0, 10000);
format(string,sizeof(string),"[Chat Torcida Uniformizada Terror Bicolor] %s (%i): {FFFFFF}%s",playerid,text);
SendPlayerMessageToAll(playerid,string);
return 0;
}

