[AJUDA]O Que Hб De Errado?
#1

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
Reply
#2

Aff ngm ajuda
Reply
#3

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);
Reply
#4

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?
Reply
#5

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);
Reply
#6

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);
Reply
#7

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.
Reply
#8

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);
Reply
#9

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.
Reply
#10

Troque Isso strins Por Isso strcat
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)