26.04.2011, 12:41
So I use zcmd but now i'm thinking how to get it write becouse I'm new at zcmd so yeah...
SO I want when pleyer says text like
/think he is retarded
the text out put was:
Player name thinks he is retarded
SO I want when pleyer says text like
/think he is retarded
the text out put was:
Player name thinks he is retarded
Код:
CMD:think(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, 0x8000FFC9, "/think [text]"); new string[128], pName[20 char] ; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "* thinks %s %s *", pName, params); return SendClientMessageToAll(0x8000FFC9, string); }