30.07.2011, 20:46
Somewhere I need it for sending mysql queries, but anyways thanks.
Now another problem:
After OnPlayerText, OnPlayerCommandReceived I have
if(pData[playerid][pFlood] != 0 && pData[playerid][pFlood] < gettime()) return 0;
Then, after player sends a messages, or uses command:
pData[playerid][pFlood] = gettime() + 2;
And it likes "freezes" my server when sending messages/using commands
.
Now another problem:
After OnPlayerText, OnPlayerCommandReceived I have
if(pData[playerid][pFlood] != 0 && pData[playerid][pFlood] < gettime()) return 0;
Then, after player sends a messages, or uses command:
pData[playerid][pFlood] = gettime() + 2;
And it likes "freezes" my server when sending messages/using commands
.