SA-MP Forums Archive
[Ajuda] Warning e erro - 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] Warning e erro (/showthread.php?tid=519774)



Warning e erro - BigRet - 15.06.2014

Eu criei um sistema de cash E tals no meu GM ai eu criei um textdraw onde Eu digito /darcash ai aparece no textedraw so que esta dando Esse Warning e erro

(48821) : warning 213: tag mismatch
(48821) : error 035: argument type mismatch (argument 2)

pawn Код:
forward CashTimer(playerid);
public CashTimer(playerid)
{
    new STR[255];
    format(STR, sizeof(STR), "~w~BLH Cash: ~r~%i", Player[playerid][CashVerde]);
    PlayerTextDrawSetString(BlhCash[playerid], STR);
    return 1;
}
Linha

pawn Код:
PlayerTextDrawSetString(BlhCash[playerid], STR);



Re: Warning e erro - BobbMarley - 15.06.2014

Код:
PlayerTextDrawSetString(playerid, BlhCash, STR);
acho que assim estб certo.


Re: Warning e erro - ForT - 15.06.2014

pawn Код:
PlayerTextDrawSetString(playerid, BlhCash[playerid], STR);



Respuesta: Warning e erro - SkullFire - 15.06.2014

PHP код:
PlayerTextDrawSetString(playerid,BlhCash[playerid], STR



Re: Warning e erro - BigRet - 15.06.2014

DEu essa Warning aki (48821) : warning 213: tag mismatch


Re: Warning e erro - SpeakDS - 15.06.2014

pawn Код:
forward CashTimer(playerid);
public CashTimer(playerid)
{
    new string[256];
    format(STR, sizeof(STR), "~w~BLH Cash: ~r~%i", Player[playerid][CashVerde]);
    PlayerTextDrawSetString(BlhCash[playerid],string);
    return 1;
}



Re: Warning e erro - BigRet - 15.06.2014

Man precisa do BlhCash[playerid se nгo nгo funciona


Re: Warning e erro - SpeakDS - 15.06.2014

Tentai pra ve se vai
pawn Код:
forward CashTimer(playerid);
public CashTimer(playerid)
{
    new string[256];
    format(string, sizeof(string), "~w~BLH Cash: ~r~%i", Player[playerid][CashVerde]);
    PlayerTextDrawSetString(BlhCash[playerid],string);
    return 1;
}



Re: Warning e erro - BigRet - 15.06.2014

da os msm erros

pawn Код:
forward CashTimer(playerid);
public CashTimer(playerid)
{
    new string[256];
    format(string, sizeof(string), "~w~BLH Cash: ~r~%i", Player[playerid][CashVerde]);
    PlayerTextDrawSetString(BlhCash[playerid],string);
    return 1;
}



Re: Warning e erro - SpeakDS - 15.06.2014

O erro estб em (Abaixo)?
pawn Код:
PlayerTextDrawSetString(BlhCash[playerid],string);