06.08.2009, 19:28
Quote:
Originally Posted by xCoder
lol
![]() ![]() ![]() ![]() ![]() |
Change as needed:
Код:
dcmd_g(const playerid, const params[]) { if(!params[0]) return SendClientMessage(playerid,COLOR_ERROR,"Syntax Error: \"/g <TEXT>\"."); if(strlen(params) > 120) return SendClientMessage(playerid,COLOR_ERROR, "Error: Input too long. Please shorten your message to 120 chars."); new string128[128]; format(string128, sizeof(string128), "[%i][GLOBAL] %s",playerid,params); SendPlayerMessageToAll(playerid,string128); return 1; }