3d text
#1

Quote:

public OnVehicleStreamIn(vehicleid, forplayerid)
{
PlayerLoop(i)
{
new Float:tmpx, Float:tmpy, Float:tmpz;
GetVehiclePos(i, tmpx, tmpy, tmpz);
if(GetVehicleModel(i) == 402 || GetVehicleModel(i) == 477 || GetVehicleModel(i) == 560 || GetVehicleModel(i) == 487 || GetVehicleModel(i) == 522)
{
new Text3D:label = Create3DTextLabel("Yakuza Transportas", ySpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == 411 || GetVehicleModel(i) == 480 || GetVehicleModel(i) == 495 || GetVehicleModel(i) == 541 || GetVehicleModel(i) == 563)
{
new Text3D:label = Create3DTextLabel("La Cosa Nostra Transportas", lSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == 523 || GetVehicleModel(i) == 497 || GetVehicleModel(i) == 427 || GetVehicleModel(i) == 599 || GetVehicleModel(i) == 597 || GetVehicleModel(i) == 490)
{
new Text3D:label = Create3DTextLabel("Policijos Departamento Transportas", mSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == 562 || GetVehicleModel(i) == 421 || GetVehicleModel(i) == 451 || GetVehicleModel(i) == 493 || GetVehicleModel(i) == 521)
{
new Text3D:label = Create3DTextLabel("Triads Transportas", tSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == AndriusZI)
{
new Text3D:label = Create3DTextLabel("AndriusZ Transportas", aSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == DeluxXxN)
{
new Text3D:label = Create3DTextLabel("DeluxXx Transportas", dSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
else if(GetVehicleModel(i) == 432 || GetVehicleModel(i) == 520 || GetVehicleModel(i) == 447)
{
new Text3D:label = Create3DTextLabel("Spec. Transportas / lлktuvai", aSpalva,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}
}
return 1;
}

whats wrong with it 3d label didnt showing;s im tryied all labels do with if, but it doesnt working;/
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)