Jump to content

TooM824

Uživatel
  • Příspěvků

    3
  • Registrován

  • Aktivní

Příspěvky posted by TooM824

  1. Tento error mi to házi při compilaci:
    
    - warning 213: tag mismatch
    
    
    
    public OnBankConnect(playerid)
    {
    		new cesta[10];
            format(cesta,sizeof(cesta),"/Banka/%s.bank",PlayerName(playerid));
            Ma_Banku[playerid] = dini_Bool(cesta,"AMA"); //<--- Tu to hází error
            Jeho_B_Ucet[playerid][prachy] = dini_Int(cesta,"Prachy");
            return true;
    }

    Nevím co s tím... :/

  2. Zdravím,
    Zrovna jsem pawnil TextDraw pod mapou a nějak se mi nezobrazuje pod mapou. :/ Neporadili by jste ?

     

     

    #include <a_samp>
    
    #define tabsize 0
    
    new Text:Textdraw;
    
    public OnFilterScriptInit(){
    Textdraw = TextDrawCreate(5.0, 400.0, "~y~Super ~g~CZ/SK ~g~Server");
    TextDrawUseBox(Textdraw, 0);
    TextDrawFont(Textdraw, 3);
    TextDrawSetShadow(Textdraw, 0);
    TextDrawSetOutline(Textdraw, 1);
    TextDrawBackgroundColor(Textdraw, 0x000000FF);
    TextDrawColor(Textdraw, 0xFFFFFFFF);
    return 1;
    }
    
    public OnFilterScriptExit()
    {
    return 1;
    }
    
    public OnPlayerConnect(playerid)
    {
    TextDrawShowForPlayer(playerid, Textdraw);
    return 1;
    }
    
    public OnPlayerDisconnect(playerid, reason)
    {
    TextDrawHideForPlayer(playerid, Textdraw);
    return 1;
    }
    

     

     

×
×
  • Create New...