3d text
#6

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    new
        i,
        model,
        Float:vehx,
        Float:vehy,
        Float:vehz,
        Text3D:label;
    for (i = 0; i < MAX_VEHICLES; ++i)
    {
        model = GetVehicleModel(i);
        if (!model) break;
        label = 0;
        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);
            case AndriusZI: label = Create3DTextLabel("AndriusZ Transportas", aSpalva, vehx, vehy, vehz, 20.0, 0, 1);
            case 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;
}
untested
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: 1 Guest(s)