[Ajuda] dialogid І - 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] dialogid І (
/showthread.php?tid=453539)
dialogid І -
Don_Speed - 25.07.2013
#edit
Re: dialogid І -
Knight97 - 25.07.2013
Tente assim:
pawn Код:
strcat(novastring, file, sizeof(file));
Re: dialogid І -
Don_Speed - 25.07.2013
#edit
Re: dialogid І -
DarknessPT - 25.07.2013
pawn Код:
for(new i = 0; i <= GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i) && ClubInfo[idorg][pMember][i])
{
//...
}
else
{
//...
}
}
Re: dialogid І -
Don_Speed - 25.07.2013
[I]
Quote:
Originally Posted by DarknessPT
pawn Код:
for(new i = 0; i <= GetMaxPlayers(); i++) { if(IsPlayerConnected(i) && ClubInfo[idorg][pMember][i]) { //... } else { //... } }[/i]
|
Meu loop nгo e de jogadores e sim de membros!
Re: dialogid І -
Lуs - 26.07.2013
Quote:
Originally Posted by Knight97
Tente assim:
pawn Код:
strcat(novastring, file, sizeof(file));
|
Nгo й preciso definir sizeof na strcat pois ele й definido automaticamente pelo tamanho da array destino.
Quote:
SA-MP Wiki:(dest[], const source[], maxlength = sizeof dest)
|