[Ajuda] Warnings
#1

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

Falta argumentos.

GetPlayerName(playerid, const name[], len)

Код:
format(string, sizeof(string), "~h~~g~%s~w~~n~Foi Para~r~~h~ /%s", GetPlayerName(playerid), message);
Reply
#3

Vlw Multi consegui
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)