SendClientMessageToAll +1 rep
#1

Hello,
I forgot usage.
I got this code
Код:
if (strcmp("/afk", cmdtext, true) == 0)
{
	 SendClientMessage(playerid, 0xFFFF00C8 , "You have activated AFK mode,Use /back to return to the game!");
	 SetPlayerHealth(playerid, 1000000000);
	 TogglePlayerControllable(playerid,0);
	 return 1;
}
How will I add the message "[INFO] Player (player's name) is now AFK!"? Also help me at (player's name)i dont remember how to add his name to be shown.
+1 Rep will be given!
Reply


Messages In This Thread
SendClientMessageToAll +1 rep - by [SU]Spartan - 17.06.2014, 13:33
Re: SendClientMessageToAll +1 rep - by Rittik - 17.06.2014, 13:37
Re: SendClientMessageToAll +1 rep - by Konstantinos - 17.06.2014, 13:37
Re: SendClientMessageToAll +1 rep - by Threshold - 17.06.2014, 13:39
Re: SendClientMessageToAll +1 rep - by Sojo12 - 17.06.2014, 13:39
Re: SendClientMessageToAll +1 rep - by [SU]Spartan - 17.06.2014, 13:41
Re: SendClientMessageToAll +1 rep - by Kimossab - 17.06.2014, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)