[AJUDA] Cortando
#1

Repare nos "Fundos" se vc colocar o nome da empresa muito longo ele corta as ultimas palavras.Como tiro esse "redutor" de caracteres. meu gm й parecido com o lac.



Obrigado a todos que postarem e tentarem ajudar-me. Vlews
Reply
#2

Код HTML:
if(strcmp(cmd, "/nomeemp", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] > 1337)
{
new bouse = PlayerInfo[playerid][pPbiskey];
if (bouse == 255)
{
SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo possui uma empresa");
return 1;
}
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_WHITE, "USE: /nomeemp [Nome]");
}
if (bouse >= 100)
{
strmid(SBizzInfo[bouse-100][sbMessage], result, 0, 64, 255);
format(string, sizeof(string), "Nome da empresa definido para %s",SBizzInfo[bouse-100][sbMessage]);
}
else
{
strmid(BizzInfo[bouse][bMessage], result, 0, 64, 255);
format(string, sizeof(string), "Nome da empresa definido para %s",BizzInfo[bouse][bMessage]);
}
Atualizar3Dtexts();
OnPropUpdate();
SendClientMessage(playerid, COLOR_WHITE, string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo estб autorizado a usar este comando!");
return 1;
}
}
return 1;
}	
}
nao seria o 3dtextlabell ou algun redutor que corta a mensagem pq se eu escrevo em qualquer chat uma frase muito longa ele corta
Reply
#3

****** Wins х/ UHAHEUAHEUAHEUAHEU
Reply
#4

Quote:
Originally Posted by WeenSoares
Посмотреть сообщение
****** Wins х/ UHAHEUAHEUAHEUAHEU
nгo intendi?
Reply
#5

Код HTML:
C:\Documents and Settings\Lucas\Desktop\BEK 0.3d\gamemodes\BEL.pwn(22865) : error 003: declaration of a local variable must appear in a compound block
C:\Documents and Settings\Lucas\Desktop\BEK 0.3d\gamemodes\BEL.pwn(22865) : error 017: undefined symbol "gsstring"
C:\Documents and Settings\Lucas\Desktop\BEK 0.3d\gamemodes\BEL.pwn(22865) : warning 215: expression has no effect
C:\Documents and Settings\Lucas\Desktop\BEK 0.3d\gamemodes\BEL.pwn(22865) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lucas\Desktop\BEK 0.3d\gamemodes\BEL.pwn(22865) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#6

nao funcionou acho que nao й a questao do /nomeemp pq se o fundo for muito grande ele corta tb
Reply
#7

Quote:
Originally Posted by fonyke
Посмотреть сообщение
nao funcionou acho que nao й a questao do /nomeemp pq se o fundo for muito grande ele corta tb
ainda n
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)