SA-MP Forums Archive
3 lil questions - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3 lil questions (/showthread.php?tid=121961)



3 lil questions - Coicatak - 19.01.2010

1)If I'm not wrong SAMP got an internal auto AFK system, right? Then after how much time does it kick the AFK player?

2) Answered.

3) Does a function to detect if a player is crouch exist?



Re: 2 lil questions - Striker_Moe - 19.01.2010

Код:
if(a == b) c = 3;
c++;
is similar to

Код:
if(a == b) { c = 3; }
c++;
but both are not equal to

Код:
if(a == b)
{
   c = 3;
   c++;
}
Never heard of the anti-AFK system.


Re: 2 lil questions - Coicatak - 19.01.2010

Ok thanks juste wanna be sure of that.

I'm not sure there is a anti AFK system but I guess so because when I stay connected without playaing for a while (1 hour i guess) i got kicked whereas I've not anti AFK system on my script


Re: 2 lil questions - Coicatak - 21.01.2010

3rd question: Does a function to detect if a player is crouch exist?