Skip to content

Commit

Permalink
Stop this forcefully-clear-chat madness all around
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellLVP committed May 14, 2016
1 parent 4517b82 commit 6525234
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion pawn/Interface/JavaScriptBridge.pwn
Expand Up @@ -12,7 +12,6 @@ forward OnSerializePlayerState(playerid, serialize);
public OnSerializePlayerState(playerid, serialize) {
if (serialize) {
ClearPlayerMenus(playerid);
ClearPlayerChat(playerid);

TogglePlayerSpectating(playerid, 0);

Expand Down
7 changes: 0 additions & 7 deletions pawn/Interface/functions.pwn
Expand Up @@ -736,13 +736,6 @@ PlayerName(playerId) {
return name;
}

ClearPlayerChat(playerId) {
for (new j = 1; j <= 120; j++)
SendClientMessage(playerId, 0, "\n");

return 1;
}

ConvertTime(time) {
new m, s, string[256];
if (time > 59) {
Expand Down
1 change: 0 additions & 1 deletion pawn/Resources/Minigames/Core/Derby.pwn
Expand Up @@ -384,7 +384,6 @@ CDerby__Start(iDerbyID)
CDerby__SetPlayerState(i,DERBY_STATE_COUNTDOWN);
SetPlayerInterior(i,CDerby__GetInterior(iDerbyID));
CDerby__SetPlayerBlip(i);
ClearPlayerChat(i);

CDerby__ShowTextdrawsForPlayer(iDerbyID, i, true);

Expand Down
1 change: 0 additions & 1 deletion pawn/Resources/Minigames/Core/HayStack/minigame.pwn
Expand Up @@ -470,7 +470,6 @@ haySpawnPlayer(playerid)
SetPlayerCameraPos(playerid, 32.9946,47.2079,78.5389);
SetPlayerCameraLookAt(playerid, -5.6487,1.4449,50.5060);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~y~Haystack:~n~~w~Be the first to reach the top!", 5000, 5);
ClearPlayerChat(playerid);
return;
}
else
Expand Down
2 changes: 0 additions & 2 deletions pawn/Resources/Minigames/Core/Lyse.pwn
Expand Up @@ -529,8 +529,6 @@ CLyse__Start()
continue;
}

ClearPlayerChat(i);

CLyse__SetPlayerState(i, LYSE_STATE_RUNNING);

CLyse__StorePlayerData(i);
Expand Down
1 change: 0 additions & 1 deletion pawn/Resources/Minigames/Core/Race/core.pwn
Expand Up @@ -1161,7 +1161,6 @@ CRace__StartRace( iRaceID )

// Clear the players menus to stop any bugs occuring
ClearPlayerMenus(i);
ClearPlayerChat(i);


// Set the Virtual World which we'll use for this game;
Expand Down

0 comments on commit 6525234

Please sign in to comment.