SA-MP Forums Archive
[Ajuda] Alguem Sabe o que Significa ? - 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] Alguem Sabe o que Significa ? (/showthread.php?tid=368072)



Alguem Sabe o que Significa ? - Maklister - 12.08.2012

Quando ligo meu Samp-Server: normal
so que quando vai passando o tempo fica flodando esses avisos:




Re: Alguem Sabe o que Significa ? - @Riichard - 12.08.2012

Esses warnings apareзeram pra mim, quando utilizei o sscanf sem definir o tamanho da string exemplo:
pawn Код:
new Texto[100];
if(sscanf(params, "s/*[100]*/", Texto)) return /*......*/
Creio que sejб isto.


Re: Alguem Sabe o que Significa ? - .FuneraL. - 12.08.2012

no Lugar de:

pawn Код:
if(sscanf(params, "s", Exemplo))...
Deveria ser

pawn Код:
if(sscanf(params, "s[100]", Exemplo))...
Espero ter Ajudado



Re: Alguem Sabe o que Significa ? - Maklister - 12.08.2012

Rsrs deve ser Mesmo

Obrigado ae


Re: Alguem Sabe o que Significa ? - Jason` - 12.08.2012

Vale lembrar que nгo se deve colocar sempre 100, caso vocк tenha entendido mal, mas sim o nъmero de cйlulas definido na declaraзгo.

pawn Код:
static string[80];
if(sscanf(params, "s[80]", string))

static string2[34];
if(sscanf(params, "s[34]", string2))



Re: Alguem Sabe o que Significa ? - Maklister - 12.08.2012

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
Vale lembrar que nгo se deve colocar sempre 100, caso vocк tenha entendido mal, mas sim o nъmero de cйlulas definido na declaraзгo.

pawn Код:
static string[80];
if(sscanf(params, "s[80]", string))

static string2[34];
if(sscanf(params, "s[34]", string2))
A sim Obrigado ae =D