23.12.2009, 13:57
Hello, I'm having trouble with my /o chat. When I write /o hi it says (([OOC Global] Richard_Wright: ))
It should be (([OOC Global] Richard_Wright: hi))
This is my command
It should be (([OOC Global] Richard_Wright: hi))
This is my command
Code:
if(!strcmp(cmdtext, "/o", true, 2)) { if(!cmdtext[2])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /o [message]"); new str[128]; GetPlayerName(playerid, str, sizeof(str)); format(str, sizeof(str), "(([OOC Global] %s: %s))", str, cmdtext[18]); SendClientMessageToAll(COLOR_RED, str); return 1; }