Need help with /fakechat
#3

As stated, I'm new

Quote:

CMD:fakechat(playerid, params[])
{
new Player, xChat[24];
if(sscanf(params)) return SendClientMessage(playerid, COLOUR_RED, "Will send a fake message of the specified player!");
else
{
if(!IsPlayerConnected(strval(params))) return SendClientMessage(playerid, COLOUR_RED, "This player is not connected");

SendClientMessage(playerid, COLOUR_RED, "Fake chat sent!");

SendPlayerMessageToAll(Player, xChat);
}
return 1;
}

Would this work any better?
Reply


Messages In This Thread
Need help with /fakechat - by Prometheus - 30.09.2012, 11:36
Re : Need help with /fakechat - by Prometheus - 30.09.2012, 12:36
Re : Need help with /fakechat - by Prometheus - 30.09.2012, 12:41
Re: Need help with /fakechat - by Lordzy - 30.09.2012, 12:44
Re : Re: Need help with /fakechat - by Prometheus - 30.09.2012, 13:05
Re: Need help with /fakechat - by Lordzy - 30.09.2012, 13:23
Re : Need help with /fakechat - by Prometheus - 30.09.2012, 13:41
Re : Need help with /fakechat - by Prometheus - 30.09.2012, 13:51
Re: Need help with /fakechat - by Gangster-rocks - 30.09.2012, 15:21

Forum Jump:


Users browsing this thread: 2 Guest(s)