18.06.2012, 13:45
(
Последний раз редактировалось sanalex; 18.06.2012 в 15:27.
)
Resolvido!
if(IsPlayerConnected(playerid) || PlayerDados[playerid][Membro] >= 1)
{
new bla[40]; new idx;
bla = strtok(inputtext,idx);
strmid(bla, inputtext, 11, strlen(inputtext));
if(strlen(bla) < 1 || strlen(bla) > 40)
{
SendClientMessage(playerid,0xFF0000AA,"[ERRO]: bla bla bla!");
return 1;
}
new str[64];
format(str,sizeof(str),"Bla:~n~~w~%s",inputtext[10]);
for(new i; i < MAX_PLAEYRS; ++i)
{
if(PlayerDados[i][Membro] > 0) GameTextForPlayer(i,str,5000,3);
}
}
if(strlen(bla) < 1 || strlen(bla) > 40)
if(strlen(bla) < 1 && strlen(bla) > 40)
if(IsPlayerConnected(playerid) || PlayerDados[playerid][Membro] >= 1)
{
new str[64];
if(strlen(inputtext) < 1 || strlen(inputtext) > 40) return SendClientMessage(playerid,0xFF0000AA,"[ERRO]: bla bla bla!");
format(str,sizeof(str),"Bla:~n~~w~%s",inputtext);
for(new i; i < MAX_PLAEYRS; ++i)
{
if(PlayerDados[i][Membro] > 0) GameTextForPlayer(i,str,5000,3);
}
}