[HELP]3D Text Labels
#4

This has worked for me before, it might not help but it's worth a shot.

pawn Код:
CMD:aon(playerid, params[])
{
    new Text3D:al = Create3DTextLabel("((Na Admin Duznosti))", COLOR_ADMIN, 30.0, 40.0, 50.0, 40.0, 0);

    if(PlayerInfo[playerid][aduty] == 1)
    {
        Delete3DTextLabel(Text3D:al);
        SetPlayerColor(playerid, COLOR_WHITE);
        SCM(playerid, COLOR_ADMIN, "Vise nisi na admin duznosti.");
        SetPlayerArmour(playerid, 0);
        SetPlayerHealth(playerid, 100);
        PlayerInfo[playerid][aduty] = 0;
            return 1;
    }
    else
    {
        Attach3DTextLabelToPlayer(Text3D:al, playerid, 0.0, 0.0, 0.5);
        SCM(playerid, COLOR_ADMIN, "Sada si na admin duznosti.");
        SetPlayerColor(playerid, COLOR_ADMIN);
        SetPlayerArmour(playerid, 1000);
        SetPlayerHealth(playerid, 1000);
        PlayerInfo[playerid][aduty] = 1;
        return 1;
    }
}
Reply


Messages In This Thread
[HELP]3D Text Labels - by Korisnik - 09.06.2012, 22:37
Re: [HELP]3D Text Labels - by JhnzRep - 09.06.2012, 22:48
Re: [HELP]3D Text Labels - by Korisnik - 09.06.2012, 23:09
Re: [HELP]3D Text Labels - by JhnzRep - 09.06.2012, 23:13

Forum Jump:


Users browsing this thread: 2 Guest(s)