19.11.2013, 15:59
(
Последний раз редактировалось xxRichixx; 20.11.2013 в 06:16.
)
My problem is fixed now...thanks for your help!
CMD:me(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]"); new string[128]; format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); return 1; } |
CMD:do(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /do [action]"); else if(strlen(params) >= 100) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 99 characters in length."); new string[128]; format(string, sizeof(string), "* %s (( %s ))", params, GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); return 1; } |
CMD:b(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]"); new string[128]; format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid), params); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5); return 1; } |