25.09.2010, 15:40
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; } |