Afk and pms - 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)
+--- Thread: Afk and pms (
/showthread.php?tid=323986)
Afk and pms -
]Rafaellos[ - 07.03.2012
Hello every one, i want a help!
I want to add in my pm system, when a player is afk, return that this player is afk.
Thank you!
* sorry for my bad english
Re: Afk and pms -
niels44 - 07.03.2012
use GarPM and search for a afk system, there are ALOT afk systems so you cant miss them
Re: Afk and pms -
CAR - 07.03.2012
In your afk command:
pawn Код:
SetPVarInt(playerid, "afk", 1);
In your pm command:
pawn Код:
if(GetPVarInt(otherid, "afk") == 1) SendClientMessage(playerid, 0xFF0000FF, "That player is afk!");
I don't know how you defined otherid, but it must be the id who you are sending it to.
Re: Afk and pms -
]Rafaellos[ - 08.03.2012
Thank you for this, but dont work :S
I use this one:
Thanks