Create3DTextLabel + REP !
#4

there ya go
pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    new propid = -1;
    for(new id; id<MAX_PROPERTIES; id++)
    {
        if(PropInfo[id][PickupNr] == pickupid)
        {
            propid = id;
            break;
        }
    }
    if(propid != -1)
    {
                new str[128];
                format(str, 128, "~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]);
                new Float:posX,Float:posY,Float:posZ;GetPlayerPos(playerid,posX,posY,posZ);
                Create3DTextLabel(str, -1, posX,posY,posZ, 20.0, -1,-1);//will create the 3D text in the players position!
    }
    return 1;
}
Reply


Messages In This Thread
Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 10:50
Re: Create3DTextLabel + REP ! - by Sphex - 14.04.2012, 10:53
Re: Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 10:59
Re: Create3DTextLabel + REP ! - by park4bmx - 14.04.2012, 13:19
Re: Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 14:12
Re: Create3DTextLabel + REP ! - by Cjgogo - 14.04.2012, 14:16
Re: Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 14:34
Re: Create3DTextLabel + REP ! - by park4bmx - 14.04.2012, 15:18
Re: Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 17:05
Re: Create3DTextLabel + REP ! - by 3RoR - 14.04.2012, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)