SA-MP Forums Archive
[FilterScript] AFK Simple System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] AFK Simple System (/showthread.php?tid=429211)



AFK Simple System - MytzaMytz - 08.04.2013

Description:
Hey today i make a AFK simple system,well the comands are:
/afk
/back
When you write In-Game the command /afk you will be appear: Name has gone to AFK mode,and you write /back Name is no longer AFK.When you are afk you will be dancing at Jizzy's Club.

Credits:
MytzaMytz(Me)a.k.a Mytza.
Download:
Afk.pwn - http://www.solidfiles.com/d/ce51bedafb/
Afk.amx - http://www.solidfiles.com/d/52249291da/
P.Son't Change the Credits!


Re: AFK Simple System - DiGiTaL_AnGeL - 12.04.2013

pawn Код:
new name[255];
  GetPlayerName(playerid, name, 255);
You must learn about variables. The player's name can be maximum 24 characters long, so you only need
pawn Код:
new name[24];
And in 0.3x, freezing the player with TogglePlayerControllable will not make him invulnerable. Anyway, if you are a begginer, it's good. But read as many tutorials as you can.