[Ajuda] Warnings - 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] Warnings (
/showthread.php?tid=582624)
Warnings -
CZ - 22.07.2015
Alguem pode me ajudar nessas warnings aqui?
pawn Код:
C:\Users\Carlos\Desktop\Newww\filterscripts\lprr.pwn(1194) : warning 202: number of arguments does not match definition
C:\Users\Carlos\Desktop\Newww\filterscripts\lprr.pwn(1194) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Linha:
pawn Код:
format(string, sizeof(string), "~h~~g~%s~w~~n~Foi Para~r~~h~ /%s", GetPlayerName(playerid), message);
Codigo inteiro.
pawn Код:
stock ShowInfoTextDraw(playerid, message[])
{
if(InfoTDTimer != -1) KillTimer(InfoTDTimer), HideInfoTextDraw();
InfoTDTimer = SetTimer("HideInfoTextDraw", 2000, 0);
TextDrawShowForAll(InfoTextDraw[0]);
TextDrawShowForAll(InfoTextDraw[1]);
new string[256];
//new str[70];
format(string, sizeof(string), "~h~~g~%s~w~~n~Foi Para~r~~h~ /%s", GetPlayerName(playerid), message);
TextDrawSetString(InfoTextDraw[3], string);
TextDrawShowForAll(InfoTextDraw[3]);
return 1;
}
Re: Warnings -
MultiKill - 22.07.2015
Falta argumentos.
GetPlayerName(playerid, const name[], len)
Код:
format(string, sizeof(string), "~h~~g~%s~w~~n~Foi Para~r~~h~ /%s", GetPlayerName(playerid), message);
Re: Warnings -
CZ - 22.07.2015
Vlw Multi consegui