MySQL issues
#4

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:
pawn Код:
for(new i; i < enumname; i++)
{
    enumvar[enumname:i] = 0;
}
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.
Reply


Messages In This Thread
MySQL issues - by HighFlyer - 15.09.2012, 20:08
Re: MySQL issues - by Sinner - 15.09.2012, 20:49
Re: MySQL issues - by HighFlyer - 15.09.2012, 20:58
Re: MySQL issues - by Vince - 15.09.2012, 21:59
Re: MySQL issues - by HighFlyer - 15.09.2012, 22:07
Re: MySQL issues - by Vince - 15.09.2012, 22:10
Re: MySQL issues - by HighFlyer - 16.09.2012, 17:17
Re: MySQL issues - by HighFlyer - 18.09.2012, 15:33

Forum Jump:


Users browsing this thread: 2 Guest(s)