Hallo,
wo kann ich hier mein Radius einstellen?
public OnPlayerText(playerid, text[])
{
if(AFK[playerid] == 1)
{
SendClientMessage(playerid, COLOR_RED, "Du kannst nicht schreiben wenn du AFK bist, schreibe /back um zu schreiben!");
return 0;
}
if(aduty[playerid] == false)
{
new string[128],name[24];
new stunde1, minute1, sekunde1;
gettime(stunde1, minute1, sekunde1);
GetPlayerName(playerid, name, 24);
format(string, 128,"[%02d:%02d:%02d | ID: %d] %s %s : {FFFFFF}%s",stunde1,minute1,sekunde1,playerid,Admintextname(playerid),name,text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
SetPlayerChatBubble(playerid,text, GetPlayerColor(playerid), 50.0, 6000);
}
else
{
new string[128],name[24];
new stunde1, minute1, sekunde1;
gettime(stunde1, minute1, sekunde1);
GetPlayerName(playerid, name, 24);
format(string, 128,"[%02d:%02d:%02d | ID: %d] %s %s : %s",stunde1,minute1,sekunde1,playerid,Admintextname(playerid),name,text);
SendClientMessageToAll(FARBE_WARNING, string);
SetPlayerChatBubble(playerid,text, FARBE_ROT, 50.0, 6000);
}
//LimitGlobalChatRadius(70.0); Das bringt auch nichts :D
return 0;
}
MfG Freestyyler