mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-13 11:32:35 +00:00
PT_SAY: Help GUESTs understand what's going on a little better
This commit is contained in:
parent
eb8c568723
commit
5854969fa9
1 changed files with 2 additions and 0 deletions
|
|
@ -4999,6 +4999,8 @@ static void PT_Say(int node)
|
||||||
|
|
||||||
char rejectmsg[256];
|
char rejectmsg[256];
|
||||||
strlcpy(rejectmsg, va("Please finish in %d more games to use chat.", remainingGames), 256);
|
strlcpy(rejectmsg, va("Please finish in %d more games to use chat.", remainingGames), 256);
|
||||||
|
if (IsPlayerGuest(say.source))
|
||||||
|
strlcpy(rejectmsg, va("GUESTs can't chat on this server. Rejoin with a profile to track your playtime."), 256);
|
||||||
SendServerNotice(say.source, rejectmsg);
|
SendServerNotice(say.source, rejectmsg);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue