04.06.2012, 14:18
Quote:
dcmd_ann(playerid, params[]) { #pragma unused params if(PlayerData[playerid][AdminLevel] >= 1) { new tmp[128], idx; tmp = strtok(cmdtext, idx, strlen(cmdtext)); if(!strlen(tmp))return SendClientMessage(playerid, COLOR_GREY, "Use: /ann [text]"); new string[128]; format(string, sizeof(string), "~w~%s", tmp); GameTextForAll(string, 5000, 3); return true; } else return SendClientMessage(playerid, COLOR_GREY, "[INFO]: Vocк nгo pode utilizar esse comando"); } |