24.12.2010, 22:18
Hey Guys,
I have add a 3DText attached to Created Car
Picture:
![](/imageshack/img264/4842/samp002l.png)
I need only one 3D Text, not two, Plz !
I have add a 3DText attached to Created Car
pawn Код:
public CreatePlayerVehicle(playerid,modelid)
{
new Float:x,Float:y,Float:z,Float:angle;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,angle);
PlayerVehicle[playerid]=CreateVehicle(modelid,x,y,z,angle,-1,-1,60000);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid,X,Y,Z);
new Text3D:vehicle3Dtext;
vehicle3Dtext = Create3DTextLabel(Yassine,RED,X,Y,Z,80.0,0);
Attach3DTextLabelToVehicle(vehicle3Dtext, PlayerVehicle[playerid], 0.0, 0.0, 2.0);
return
}
![](/imageshack/img264/4842/samp002l.png)
I need only one 3D Text, not two, Plz !