13.08.2009, 23:18
[ SOLVED ]
Thanks again !
Thanks again !
Color_Return = "COLOR_JOB_ANARCHIST"
Color_Return = COLOR_JOB_ANARCHIST; //without the quotes
if(strcmp(cmdtext, "/me", true, 3) == 0)// 3 is the length of /me { if(!strlen(cmdtext[3])) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]"); GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), "[ ! ] %s : %s", string, cmdtext[4]); SendClientMessageToAll(GetPlayerColor(playerid), string); return 1; }