Afk and pms
#1

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
Reply
#2

use GarPM and search for a afk system, there are ALOT afk systems so you cant miss them
Reply
#3

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.
Reply
#4

Thank you for this, but dont work :S

I use this one:

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)