help !!
#1

(31676) : error 010: invalid function or declaration


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);
MasinosNebera = true;
}
return;
}
}
if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
MasinosNebera = false;
}
}
Reply
#2

Quote:
Originally Posted by Karolukas123
Посмотреть сообщение
(31676) : error 010: invalid function or declaration


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);
MasinosNebera = true;
}
return;
}
}
if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
MasinosNebera = false;
}
}
Check this:

pawn Код:
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);
MasinosNebera = true;
}
else if(MasinosNebera == true) // 31676
{
Delete3DTextLabel(MyLabel);
MasinosNebera = false;
}
}
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)