[Help] 3DTextLabel just for cops..
#9

pawn Код:
new PlayerText3D:PoliceWantedLabel[MAX_PLAYERS][MAX_PLAYERS];

for(new i; i <= MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i)) {
        if(GetPlayerWantedLevel(i) > 0) {
            for(new j; j <= MAX_PLAYERS; j++) {
                if(gTeam[j] == TEAM_COP) { //Or whatever team system you use...
                    PoliceLabel[j][i] = CreatePlayer3DTextLabel(j,"Wanted",COLOR_ORANGE,0.0,0.0,0.0,40.0,i);
                }
            }
        } else {
            DeletePlayer3DTextLabel(PoliceLabel[i][i]);
        }
    }
}
Reply


Messages In This Thread
[Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 16:39
Re: [Help] 3DTextLabel just for cops.. - by Rachael - 22.09.2010, 16:44
Re: [Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 16:50
Re: [Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 16:57
Re: [Help] 3DTextLabel just for cops.. - by Vince - 22.09.2010, 17:44
Re: [Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 18:01
Re: [Help] 3DTextLabel just for cops.. - by Conroy - 22.09.2010, 18:07
Re: [Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 18:15
Re: [Help] 3DTextLabel just for cops.. - by Conroy - 22.09.2010, 18:25
Re: [Help] 3DTextLabel just for cops.. - by Kuba5 - 22.09.2010, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)