13.12.2014, 11:04
el comando ?
asi
asi
Quote:
CMD:m(playerid, params[]){ //Megбfono new string[128], nombre[25], texto[128]; if(!IsPlayerInAnyVehicle(playerid))return Mensaje(playerid, COLOR_BLANCO, "No puedes utilizar este comando."); if(PI[playerid][Faccion] == 1 || PI[playerid][Faccion] == 2)return SendClientMessage(playerid,COL_WHITE,"* No formas parte de Departamento de policia de Los Santos"); if(sscanf(params, "s[128]", texto))return SendClientMessage(playerid,LSPDYLSMD, "* Oficial utiliza {009EFF}/m{FFFFFF}egбfono [Texto]"); GetPlayerName(playerid, nombre, sizeof(nombre)); format(string, sizeof(string), "{2D9FE7}[Megбfono] {FFFFFF} %s {2D9FE7}ЎЎ {FFFFFF}%s {2D9FE7}!!",nombre, texto); ProxDetector(60.0, playerid, string,AzuLSPD,AzuLSPD,AzuLSPD,AzuLSPD,AzuLSPD); return true; } |