help with player text
#3

pawn Code:
new Text3D:policewanted[MAX_PLAYERS];


forward PlayerPolice(playerid);
public PlayerPolice(playerid)
{
    if(GetPlayerWantedLevel(playerid) > 0)
    {
        policewanted[playerid] = Create3DTextLabel("WANTED BY POLICE", 0xFF2800FF, 0, 0, 0, 50, 0, 1);
        Attach3DTextLabelToPlayer(policewanted[playerid], playerid, 0.0, 0.0, 0.7);
    }
}

forward PlayerPoliceunwanted(playerid);
public PlayerPoliceunwanted(playerid)
{
    if(GetPlayerWantedLevel(playerid) == 0)
    {
        Delete3DTextLabel(policewanted[playerid]);
    }
}
Reply


Messages In This Thread
help with player text - by [LHT]Bally - 28.08.2011, 15:26
Re: help with player text - by AndreT - 28.08.2011, 15:31
Re: help with player text - by Cameltoe - 28.08.2011, 15:32
[No subject] - by [LHT]Bally - 28.08.2011, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)