30.09.2012, 11:36
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
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; } |