why notcreating 3dtext ? -
Karolukas123 - 27.06.2015
SetTimer("CarCheck", 800, true);
}
forward CarCheck();
public CarCheck()
{
if(IsVehicleInRangeOfPoint(NuomosMasina[0], 2.0, -1987.7217, 81.2729, 27.2181))
{
if(MasinosNebera == false)
{
// MyLabel = Create3DTextLabel("Masinos nera", -1, -1987.7217, 81.2729, 27.2181, 7, 0, 0);
print("Sukuriam/delitinam>1");
//Delete3DTextLabel(MyLabel);
MasinosNebera = true;
}
else if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
print("Sukuriam/delitinam>2");
//MyLabel = Create3DTextLabel("Masinos nera", -1, -1987.7217, 81.2729, 27.2181, 7, 0, 0);
MasinosNebera = false;
}
}
}
Re: why notcreating 3dtext ? -
Dokins - 27.06.2015
Use [pawn] in your message..
The issue was that you didn't create a 3DText:
pawn Код:
forward CarCheck();
public CarCheck()
{
if(IsVehicleInRangeOfPoint(NuomosMasina[0], 2.0, -1987.7217, 81.2729, 27.2181))
{
if(MasinosNebera == false)
{
new Text3D: MyLabel;
MyLabel = Create3DTextLabel("Masinos nera", -1, -1987.7217, 81.2729, 27.2181, 7, 0, 0);
print("Sukuriam/delitinam>1");
//Delete3DTextLabel(MyLabel);
MasinosNebera = true;
}
else if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
print("Sukuriam/delitinam>2");
MasinosNebera = false;
}
}
}
Re: why notcreating 3dtext ? -
Karolukas123 - 28.06.2015
new text3d; mylabel i have..
Re: why notcreating 3dtext ? -
Karolukas123 - 28.06.2015
help, i dont no how to fix it
[pawn]
new Text3D:MyLabel;
SetTimer("CarCheck", 800, true);
}
forward CarCheck();
public CarCheck()
{
if(IsVehicleInRangeOfPoint(NuomosMasina[0], 2.0, -1987.7217, 81.2729, 27.2181))
{
if(MasinosNebera == false)
{
MyLabel = Create3DTextLabel("Masinos nera", -1, -1987.7217, 81.2729, 27.2181, 15, 0, 0);
print("Sukuriam/delitinam>1");
//Delete3DTextLabel(MyLabel);
MasinosNebera = true;
}
else if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
print("Sukuriam/delitinam>2");
//MyLabel = Create3DTextLabel("Masinos nera", -1, -1987.7217, 81.2729, 27.2181, 15, 0, 0);
MasinosNebera = false;
}
}
}
[pawn]