[Ajuda] Erros estranhos
#1

Galera, estou com os seguintes erros:

Код:
(150) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessageToAll( -1, "{00CCFF}%s  {00FF00}saiu do servidor", getPlayerName(playerid)); // LINHA 150
----------------------------------------------------------------------------------------------------------


Код:
(333) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(playerid, 0x00FF00FF, "Foi teleportado para {CCFF00} %s", getPlayerName(params[0])); // LINHA 333
----------------------------------------------------------------------------------------------------------


Код:
(334) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(params[0], 0x00FF00FF, "{CCFF00}%s  {00FF00}se teleportou atй vocк", getPlayerName(playerid)); // LINHA 334
----------------------------------------------------------------------------------------------------------


Код:
(347) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(playerid, 0x00FF00FF, "Trouxe{CCFF00} %s", getPlayerName(params[0])); // LINHA 347
----------------------------------------------------------------------------------------------------------


Код:
(348) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(params[0], 0x00FF00FF, "{CCFF00}%s  {00FF00} trouxe vocк a sua posicao", getPlayerName(playerid)); // LINHA 348
Reply
#2

Tem que usar format man..

PHP код:
new string[64];
format(string,sizeof(string),"{00CCFF}%s  {00FF00}saiu do servidor",getPlayerName(playerid));
SendClientMessageToAll(-1,string); 
[TUTORIAL]Formataзгo de Strings
https://sampwiki.blast.hk/wiki/Format
Reply
#3

Quote:
Originally Posted by GuiihCamargo
Посмотреть сообщение
Galera, estou com os seguintes erros:

Код:
(150) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessageToAll( -1, "{00CCFF}%s  {00FF00}saiu do servidor", getPlayerName(playerid)); // LINHA 150
----------------------------------------------------------------------------------------------------------


Код:
(333) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(playerid, 0x00FF00FF, "Foi teleportado para {CCFF00} %s", getPlayerName(params[0])); // LINHA 333
----------------------------------------------------------------------------------------------------------


Код:
(334) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(params[0], 0x00FF00FF, "{CCFF00}%s  {00FF00}se teleportou atй vocк", getPlayerName(playerid)); // LINHA 334
----------------------------------------------------------------------------------------------------------


Код:
(347) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(playerid, 0x00FF00FF, "Trouxe{CCFF00} %s", getPlayerName(params[0])); // LINHA 347
----------------------------------------------------------------------------------------------------------


Код:
(348) : warning 202: number of arguments does not match definition
pawn Код:
SendClientMessage(params[0], 0x00FF00FF, "{CCFF00}%s  {00FF00} trouxe vocк a sua posicao", getPlayerName(playerid)); // LINHA 348
gambiara nivel hard '-'
Reply
#4

Quote:
Originally Posted by DiiMeNoR
Посмотреть сообщение
Tem que usar format man..

PHP код:
new string[64];
format(string,sizeof(string),"{00CCFF}%s  {00FF00}saiu do servidor",getPlayerName(playerid));
SendClientMessageToAll(-1,string); 
[TUTORIAL]Formataзгo de Strings
https://sampwiki.blast.hk/wiki/Format
Obrigado +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)