[Ajuda] Tag Mistach
#1

pawn Код:
new PlayerText:OpcaoSkin;

public OnPlayerConnect(playerid) {
    OpcaoSkin = CreatePlayerTextDraw(playerid,40.000000, 230.000000, "Skin");
    PlayerTextDrawBackgroundColor(playerid,OpcaoSkin, 255);
    PlayerTextDrawFont(playerid,OpcaoSkin, 1);
    PlayerTextDrawLetterSize(playerid,OpcaoSkin, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,OpcaoSkin, -1);
    PlayerTextDrawSetOutline(playerid,OpcaoSkin, 1);
    PlayerTextDrawSetProportional(playerid,OpcaoSkin, 1);
    PlayerTextDrawUseBox(playerid,OpcaoSkin, 1);
    PlayerTextDrawBoxColor(playerid,OpcaoSkin, 572662472);
    PlayerTextDrawTextSize(playerid,OpcaoSkin, 75.000000, 0.000000);
    PlayerTextDrawSetSelectable(playerid,OpcaoSkin, 1);
    return 1;
}

public OnPlayerClickTextDraw(playerid, Text:clickedid) {
    if(clickedid == OpcaoSkin)
    {
         SendClientMessage(playerid, 0xFFFFFFAA, "Vocк clicou na opзгo Skin.");
         CancelSelectTextDraw(playerid);
         return true;
    }
    return 1;
}
O erro ta na public OnPlayerClickTxtDraw, na linha

pawn Код:
if(clickedid == OpcaoSkin)
sqn eu nao sei pq ta dando isso
Reply


Messages In This Thread
Tag Mistach - by Geo1996 - 23.05.2013, 18:18
Re: Tag Mistach - by Caio_Freeze - 23.05.2013, 18:26
Re: Tag Mistach - by Don_Speed - 23.05.2013, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)