afk detect
#6

Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
Shouldn't

pawn Код:
if(x && y && z == PosX[playerid] && PosY[playerid] && PosZ[playerid])
be

pawn Код:
if((x == PosX[playerid]) && (y == PosY[playerid])  && (z == PosZ[playerid]))
Not really.

And that method isn't really efficient or correct, use The_Moddler's IsPlayerAFK and OnPlayerAFK include.

EDIT: Oh yea it should be like antonio said^^.
Reply


Messages In This Thread
afk detect - by Amine_Mejrhirrou - 01.03.2011, 19:38
Re: afk detect - by park4bmx - 01.03.2011, 19:55
Re : afk detect - by Amine_Mejrhirrou - 01.03.2011, 22:24
Re : afk detect - by Amine_Mejrhirrou - 01.03.2011, 23:23
Re: afk detect - by Antonio [G-RP] - 01.03.2011, 23:33
Re: afk detect - by Mean - 02.03.2011, 09:37
Re : afk detect - by Amine_Mejrhirrou - 02.03.2011, 12:24

Forum Jump:


Users browsing this thread: 1 Guest(s)