SA-MP Forums Archive
[Ajuda] Erro E 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] Erro E warnings (/showthread.php?tid=520272)



Erro E warnings - BigRet - 18.06.2014

Estou criando um sistema de cash mas ,E estou fazendo um text draw so que esta dando erros warnings nгo sei oque fazer mais ...

Linhas dos warnings e erro

pawn Code:
PlayerTextDrawBackgroundColor(BlhCash[playerid], 255);
    PlayerTextDrawFont(playerid,BlhCash[playerid], 0;
Aqui esta completo o codigo

pawn Code:
//sistema de cash
    BlhCash[playerid] = CreatePlayerTextDraw(playerid, 497.000000, 100.000000, "~y~BLH Cash: ~w~1000000");
    PlayerTextDrawBackgroundColor(BlhCash[playerid], 255);
    PlayerTextDrawFont(playerid,BlhCash[playerid], 0;
    PlayerTextDrawLetterSize(playerid,BlhCash[playerid],0.500000, 1.000000);
    PlayerTextDrawColor(playerid,BlhCash[playerid], -65281);
    PlayerTextDrawSetOutline(playerid,BlhCash[playerid], 0);
    PlayerTextDrawSetProportional(playerid,BlhCash[playerid], 1);
    SetTimerEx("CashTimer", 1000, true, "i", playerid);
    //sistema de cash

Code:
(11344) : warning 213: tag mismatch
(11344) : warning 213: tag mismatch
(11344) : warning 202: number of arguments does not match definition
(11345) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: Erro E warnings - mau.tito - 18.06.2014

Falto apenas fechar !
pawn Code:
PlayerTextDrawFont(playerid,BlhCash[playerid], 0);