3d text
#8

try this

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    new
        i,
        model,
        Float:vehx,
        Float:vehy,
        Float:vehz;
    for (i = 0; i < MAX_VEHICLES; ++i)
    {
        new
            Text3D:label;
        model = GetVehicleModel(i);
        if (!model) break;
        GetVehiclePos(i, vehx, vehy, vehz);
        switch (model)
        {
            case 402, 477, 487, 522, 560: label = Create3DTextLabel("Yakuza Transportas", ySpalva, vehx, vehy, vehz, 20.0, 0, 1);
            case 411, 480, 495, 541, 563: label = Create3DTextLabel("La Cosa Nostra Transportas", lSpalva, vehx, vehy, vehz, 20.0, 0, 1);
            case 427, 490, 497, 523, 597, 599: label = Create3DTextLabel("Policijos Departamento Transportas", mSpalva, vehx, vehy, vehz, 20.0, 0, 1);
            case 421, 451, 493, 521, 562: label = Create3DTextLabel("Triads Transportas", tSpalva, vehx, vehy, vehz, 20.0, 0, 1);
            case 432, 447, 520: label = Create3DTextLabel("Spec. Transportas / lлktuvai", aSpalva, vehx, vehy, vehz, 20.0, 0, 1);
        }
        if (model == AndriusZI) label = Create3DTextLabel("AndriusZ Transportas", aSpalva, vehx, vehy, vehz, 20.0, 0, 1);
        else if (model == DeluxXxN) label = Create3DTextLabel("DeluxXx Transportas", dSpalva, vehx, vehy, vehz, 20.0, 0, 1);
        if (label) Attach3DTextLabelToVehicle(label, i, 0.0, 0.0, 3.0);
    }
    return 1;
}
Reply


Messages In This Thread
3d text - by Gh0sT_ - 25.09.2010, 15:40
Re: 3d text - by Meinstad - 25.09.2010, 15:41
Re: 3d text - by Hash [NL-RP] - 25.09.2010, 15:46
Re: 3d text - by Gh0sT_ - 25.09.2010, 15:58
Re: 3d text - by Rachael - 25.09.2010, 16:04
Re: 3d text - by bigcomfycouch - 25.09.2010, 16:06
Re: 3d text - by Gh0sT_ - 25.09.2010, 16:07
Re: 3d text - by bigcomfycouch - 25.09.2010, 16:14
Re: 3d text - by Gh0sT_ - 25.09.2010, 16:21
Re: 3d text - by dottdogg - 25.09.2010, 16:35

Forum Jump:


Users browsing this thread: 3 Guest(s)