Hallo User,
ich habe probiert mal ein chat reichweite zu machen die normale geht aber die 2. also /s geht nicht.
(800) : warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
stock SendMe2Chat(string[],playerid)
{
for(new i = 0;i < MAX_PLAYERS; i++)
{
if(GetDistanceBetweenPlayers(i,playerid) <= 50)
{
SendClientMessage(i,Weiß,string);
}
}
return 1;
}
dcmd_s(playerid,params[])
{
new sendername[32],string[128], text[252];
if(sscanf(params, "s", text)) return SendClientMessage(playerid,Gelb, "Benutze: /s [Text]");
GetPlayerName(playerid,sendername,sizeof(sendername));
format(string, sizeof(string),"%s Schreit: %s",sendername,text);
SendMe2Chat(string, playerid);
return 1;
}