15.09.2012, 21:59
In the left pane should be a button called 'Query window', use that.
Regarding point 2; when a player crashes, OnPlayerDisconnect is only called a few seconds after the player has already left the game. Though I don't think the server releases the slot before calling OnPlayerDisconnect. You can reset enum values using a loop:
Obviously replacing enunname with the name of your enum and enumvar with the name of your variable. This will clear out everything. If you want other default values than 0 you have to set them manually afterwards.
Regarding point 2; when a player crashes, OnPlayerDisconnect is only called a few seconds after the player has already left the game. Though I don't think the server releases the slot before calling OnPlayerDisconnect. You can reset enum values using a loop:
pawn Код:
for(new i; i < enumname; i++)
{
enumvar[enumname:i] = 0;
}