12.11.2016, 17:26
El que no sabe nada de Pawn te deja el cуdigo acб...
Cambia las variables de admin y eso por las tuyas...
Cambia las variables de admin y eso por las tuyas...
Код:
new pos1 = strfind(text, "-", 1, 0); new pos2 = strfind(text, "-", 1 ,pos1+2); if(pos1 != -1){ if(pos2 != -1){ new string3[128],string4[128]; strmid(string3,text, pos1, pos2+2, sizeof(string3)); for(new i=0,j=GetPlayerPoolSize(); i<= j; i++){ if(PlayerInfo[i][jAdminNvl] > 1){ format(string4, sizeof(string4), "El jugador %s escribiу: %s", NombreJugador(playerid), string3); SCM(i, -1, string4); } } } }