bank text bug
#10

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript

#define FILTERSCRIPT

#if defined FILTERSCRIPT

#include <a_samp>

new Text:Textdraw51[MAX_PLAYERS];

public OnFilterScriptInit() // to OnGameModeInit
{
    for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
    {
        Textdraw51[playerid] = TextDrawCreate(608.000000, 98.000000, " "); // bank money
        TextDrawAlignment(Textdraw51[playerid], 3);
        TextDrawBackgroundColor(Textdraw51[playerid], 255);
        TextDrawFont(Textdraw51[playerid], 3);
        TextDrawLetterSize(Textdraw51[playerid], 0.650000, 2.199999);
        TextDrawColor(Textdraw51[playerid], 43775);
        TextDrawSetOutline(Textdraw51[playerid], 1);
        TextDrawSetProportional(Textdraw51[playerid], 1);
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    new string[40];
    format(string, sizeof(string),"$%d", PlayerInfo[playerid][pAccount]);
    TextDrawSetString(Textdraw51[playerid], string);
    TextDrawShowForPlayer(playerid,Textdraw51[playerid]);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    TextDrawHideForPlayer(playerid, Textdraw51[playerid]);
    return 1;
}

#endif
Reply


Messages In This Thread
bank text bug - by Rabea - 01.01.2015, 14:57
Re: bank text bug - by dusk - 01.01.2015, 15:03
Re: bank text bug - by Ryz - 01.01.2015, 15:04
Re: bank text bug - by Rabea - 01.01.2015, 15:09
Re: bank text bug - by Rabea - 01.01.2015, 15:12
Re: bank text bug - by Rabea - 01.01.2015, 17:54
Re: bank text bug - by Rabea - 02.01.2015, 21:21
Re: bank text bug - by ball - 02.01.2015, 22:16
Re: bank text bug - by Rabea - 03.01.2015, 13:49
Re: bank text bug - by JuanStone - 03.01.2015, 14:53

Forum Jump:


Users browsing this thread: 2 Guest(s)