[AJUDA] strcat - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] strcat (
/showthread.php?tid=337842)
[AJUDA] strcat -
.FuneraL. - 28.04.2012
pawn Code:
new name[24];
GetPlayerName(killerid, name, 24 );
new Spree[999];
new SSpree[256]
new SSpree2[256]
new SSpree3[256]
format(SSpree, sizeof(SSpree), "~~~~~~~~~~ Killing Spree ~~~~~~~~~\n"); strcat(Spree, SSpree);
/*Linha 3587*/ format(SSpree2, sizeof(SSpree2), " %s - First Blood \n"); strcat(name, Spree, SSpree2);
format(SSpree3, sizeof(SSpree3), "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(Spree, SSpree3);
SendClientMessageToAll(0xFFFFFFFF, SSpree);
SendClientMessageToAll(0xFFFFFFFF, SSpree2);
SendClientMessageToAll(0xFFFFFFFF, SSpree3);
Se Alguem Puder Dar um Help , Dou +Rep , o Erro й este:
pawn Code:
C:\Users\Lucas\Desktop\GameMode Linha de Guerra - Server\gamemodes\GMLinha.pwn(3587) : error: 035: argument type mismatch (argument 3)
Re: [AJUDA] strcat -
Lуs - 28.04.2012
pawn Code:
new name[24];
GetPlayerName(killerid, name, 24 );
new Spree[999];
new SSpree[256]
new SSpree2[256]
new SSpree3[256]
format(SSpree, sizeof(SSpree), "~~~~~~~~~~ Killing Spree ~~~~~~~~~\n"); strcat(Spree, SSpree);
format(SSpree2, sizeof(SSpree2), " %s - First Blood \n", name); strcat(Spree, SSpree2);
format(SSpree3, sizeof(SSpree3), "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"); strcat(Spree, SSpree3);
SendClientMessageToAll(0xFFFFFFFF, SSpree);
SendClientMessageToAll(0xFFFFFFFF, SSpree2);
SendClientMessageToAll(0xFFFFFFFF, SSpree3);
Re: [AJUDA] strcat -
.FuneraL. - 28.04.2012
Nossa... Erro bobo hehe , Vlw Los, +Rep.
Re: [AJUDA] strcat -
ViniBorn - 28.04.2012
.FuneraL. , vocк sу precisa de duas strings pra usar strcat ...