Need help with /fakechat
#1

I use zcmd. When I do /fakechat id text, it shows always the same user(no matter the id), and no text. Always "Sameplayer:"

Please help o.O

Quote:

CMD:fakechat(playerid, params[])
{
new Player, xChat[24];
if(!strlen(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;
}

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: 1 Guest(s)