Textdraw bug
#1

When i type this command it dont show the rules, it show another textdraws box, why


pawn Код:
CMD:forcerules(playerid, params[])
{
    #pragma unused params
    if(!IsCnRAdmin(playerid)) return UnknownCMD(playerid);
    if(Dead[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "You Cannot Use This Command When Dead.");
    if(IsPlayerConnected(playerid))
    {
        RemoveAllTextDraws(playerid);
        TextDrawShowForAll(ForceRulesText0[playerid]);
        TextDrawShowForAll(ForceRulesText1[playerid]);
        TextDrawShowForAll(ForceRulesText2[playerid]);
        TextDrawShowForAll(ForceRulesText3[playerid]);
        TextDrawShowForAll(ForceRulesText4[playerid]);
        TextDrawShowForAll(ForceRulesText5[playerid]);
        TextDrawShowForAll(ForceRulesText6[playerid]);
        TextDrawShowForAll(ForceRulesText7[playerid]);
        TextDrawShowForAll(ForceRulesText8[playerid]);
        TextDrawShowForAll(ForceRulesText9[playerid]);
        TextDrawShowForAll(ForceRulesText10[playerid]);
        TextDrawShowForAll(ForceRulesText11[playerid]);
        TextDrawShowForAll(ForceRulesText11[playerid]);
        TextDrawShowForAll(ForceRulesText12[playerid]);
    }
    SetTimerEx("ForceRulesDestroy", 10000, false, "i", playerid);
    return 1;
}
Reply


Messages In This Thread
Textdraw bug - by Ananisiki - 16.04.2014, 14:39
Re: Textdraw bug - by Ananisiki - 16.04.2014, 14:48
Re: Textdraw bug - by Ananisiki - 16.04.2014, 15:12
Re: Textdraw bug - by Ananisiki - 16.04.2014, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)