Problem with ID
#2

Quote:
Originally Posted by BloodyFriend
Посмотреть сообщение
Why this Doesnt work


Код:
CMD:spm(playerid,params)
{
	if(IsPlayerLuxAdmin(playerid))
	{
		new string[140];
		new id;
		format(string, sizeof(string), "PM from a silenced admin: %s", params);
		SendClientMessage(id, COLOR_WHITE, string);
		SendClientMessage(playerid, COLOR_RED, "Message sent");
		return 1;
	}
	else
	{
		SendClientMessage(playerid, COLOR_RED, "[ERROR] "green"You need to be admin to use this command");
		return 1;
	}
}
How to get the id typed in the command get into the sendclientmessage so it sends to the playerid you typed?
You mean the command doesnt work ? Specify your exact problem.
Reply


Messages In This Thread
Problem with ID - by BloodyFriend - 04.03.2012, 14:56
Re: Problem with ID - by Mark™ - 04.03.2012, 14:59
Re: Problem with ID - by BloodyFriend - 04.03.2012, 15:07
Re: Problem with ID - by Twisted_Insane - 04.03.2012, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)