Quote:
Originally Posted by Threshold
PHP код:
GetPlayerPos(i,x,y,z);
if(IsPlayerInRangeOfPoint(i,2,x,y,z))
{
AFK[i]++;
}
This will almost always be considered 'true'... so even if players aren't AFK and are constantly moving, the server will still consider them 'AFK'.
|
How would I set it so that if player is there that they aren't set afk.