Quote:
Originally Posted by Pottus
pawn Code:
public OnPlayerConnect(playerid) { Dialog_Reset(playerid);
Why bother? It's done in OnPlayerDisconnect().
|
Maybe because my dialog functions don't check if player is connected!
Quote:
Originally Posted by Pottus
Line 189:
pawn Code:
format(gPlayerList[playerid][i][E_desc], 28, ""); // Do this gPlayerList[playerid][i][E_desc][0] = '\0';
You for got to clean up playerdraws in OnGameModeExit() / OnFilterScriptExit()
|
Player textdraws must be cleaned up when player disconnects.
R3 - 8th April, 2015- Fixed header disappearing
- Converted 3D array system to 2D array, really affect the file's output size
- Reduced lines, short code!
- NEW DESIGN
Please download the latest version.