[Ajuda] strcat dando erro
#4

Olhe os argumentos da funзгo strcat, para o que vocк esta tentando fazer deve ser usado a funзгo format para formatar e depois a funзгo strcat para juntar a string formata em uma string principal.


Exemplo:
PHP код:
new temp[50];
new 
name[MAX_PLAYER_NAME];
GetPlayerName(playeridnamesizeof name);
new 
principal[128];

format(tempsizeof temp"Olб %s"name);
strcat(principaltemp);
strcat(principal" bem vindo ao servidor."); 
Reply


Messages In This Thread
strcat dando erro - by zCyan - 18.07.2017, 19:07
Re: strcat dando erro - by GuilhermeNunes - 18.07.2017, 19:34
Re: strcat dando erro - by IlanZ - 18.07.2017, 20:05
Re: strcat dando erro - by MultiKill - 18.07.2017, 20:56
Re: strcat dando erro - by zCyan - 18.07.2017, 21:17
Re: strcat dando erro - by zCyan - 18.07.2017, 21:19
Re: strcat dando erro - by zCyan - 18.07.2017, 21:34
Re: strcat dando erro - by MrEdu - 19.07.2017, 03:08
Re: strcat dando erro - by Bruno13 - 19.07.2017, 04:38

Forum Jump:


Users browsing this thread: 4 Guest(s)