SA-MP Forums Archive
[AJUDA]O Que Hб De Errado? - 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]O Que Hб De Errado? (/showthread.php?tid=349862)



[AJUDA]O Que Hб De Errado? - Jake_Dunlapp - 10.06.2012

pawn Код:
new avs[2000];
    strins(avs,"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(avs,"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(avs,"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(avs,"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(avs,"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    SendClientMessageToAll(BRANCO,alerta,avs);
O code esta dessa maneira porem quando a mensagem й enviada automaticamente ela normalmente vai so uma linha ou nem se quer vai? ajuda


Re: [AJUDA]O Que Hб De Errado? - Jake_Dunlapp - 10.06.2012

Aff ngm ajuda


Re: [AJUDA]O Que Hб De Errado? - Crueliz0n - 10.06.2012

pawn Код:
new avs[2000];
    strins(avs,"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(avs,"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(avs,"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(avs,"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(avs,"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    SendClientMessageToAll(BRANCO,avs);



Re: [AJUDA]O Que Hб De Errado? - Jake_Dunlapp - 10.06.2012

Quote:
Originally Posted by BlackDonelly
Посмотреть сообщение
pawn Код:
new avs[2000];
    strins(avs,"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(avs,"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(avs,"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(avs,"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(avs,"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    SendClientMessageToAll(BRANCO,avs);
Vo testar,DUVIDA o que mudou no seu code?


Re: [AJUDA]O Que Hб De Errado? - Don_Speed - 10.06.2012

pawn Код:
new avs[2000], Don[145];
    format(Don,sizeof(Don),"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    strins(Don,avs);
    SendClientMessageToAll(BRANCO,alerta,avs);



Re: [AJUDA]O Que Hб De Errado? - Crueliz0n - 10.06.2012

Quote:
Originally Posted by Jake_Dunlapp
Посмотреть сообщение
Vo testar,DUVIDA o que mudou no seu code?
original:
pawn Код:
SendClientMessageToAll(BRANCO,alerta,avs);
meu:
pawn Код:
SendClientMessageToAll(BRANCO,avs);



Re: [AJUDA]O Que Hб De Errado? - Jake_Dunlapp - 10.06.2012

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
pawn Код:
new avs[2000], Don[145];
    format(Don,sizeof(Don),"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(Don,avs);
    format(Don,sizeof(Don),"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    strins(Don,avs);
    SendClientMessageToAll(BRANCO,alerta,avs);
Black o seu nao funcionou// Don o seu deu isso
pawn Код:
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(75) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(77) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(79) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(81) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(83) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(84) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.



Re: [AJUDA]O Que Hб De Errado? - Don_Speed - 10.06.2012

Quote:
Originally Posted by Jake_Dunlapp
Посмотреть сообщение
Black o seu nao funcionou// Don o seu deu isso
pawn Код:
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(75) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(77) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(79) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(81) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(83) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(84) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.
Ja Corrijo Ja Do Edit!

@edit
Arrumado
pawn Код:
new avs[2000], Don[145];
    format(Don,sizeof(Don),"|=======================Aviso Do Governo=======================|",strlen(avs));
    strins(avs,Don);
    format(Don,sizeof(Don),"{02C0E6}        Achamos a cura para o virus B",strlen(avs));
    strins(avs,Don);
    format(Don,sizeof(Don),"{02C0E6}  Se vocк estб passando mal ou algo do tipo venha rapido",strlen(avs));
    strins(avs,Don);
    format(Don,sizeof(Don),"{02C0E6}   Estamos emitindo um sinal via satelite",strlen(avs));
    strins(avs,Don);
    format(Don,sizeof(Don),"{02C0E6}    Celulares e iphones estгo recebendo nossa localizaзгo",strlen(avs));
    strins(avs,Don);
    SendClientMessageToAll(BRANCO,avs);



Re: [AJUDA]O Que Hб De Errado? - Jake_Dunlapp - 10.06.2012

Continua os warnings
pawn Код:
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(69) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(71) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(73) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(75) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(77) : warning 202: number of arguments does not match definition
C:\Users\Lucas Lopes\Desktop\Server Samp\gamemodes\S4D.pwn(390) : warning 203: symbol is never used: "alerta"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.



Re: [AJUDA]O Que Hб De Errado? - Don_Speed - 10.06.2012

Troque Isso strins Por Isso strcat