bank text bug
#1

hi i'm tring to do Bank money text same to raven's roleplay, but its kinda bugged
here some codes:



pawn Код:
new Text:Textdraw51[MAX_PLAYERS];
OnGameModeInIt
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++){
    Textdraw51[i] = TextDrawCreate(608.000000, 98.000000, " "); // bank money
    TextDrawAlignment(Textdraw51[i], 3);
    TextDrawBackgroundColor(Textdraw51[i], 255);
    TextDrawFont(Textdraw51[i], 3);
    TextDrawLetterSize(Textdraw51[i], 0.650000, 2.199999);
    TextDrawColor(Textdraw51[i], 43775);
    TextDrawSetOutline(Textdraw51[i], 1);
    TextDrawSetProportional(Textdraw51[i], 1);}
OnPlayerConnect
pawn Код:
new string[256];
    for(new i=0; i<MAX_PLAYERS; i++){
    format(string, sizeof(string),"$%d",PlayerInfo[i][pAccount]);
    TextDrawSetString(Textdraw51[i], string);
    TextDrawShowForPlayer(playerid,Textdraw51[i]);}
OnPlayerDissconnect
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++){
    TextDrawHideForPlayer(playerid, Textdraw51[i]);}
its little buggy :c
can anyone help me plesae?
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: 1 Guest(s)