28.12.2016, 16:41
i know what is problem but i cant solve this
new price = GetVehiclePrice(modelid);
new Float:ParkX, Float:ParkY, Float:ParkZ;
new name[64];
if(GetCash(playerid) < price) return NoCashMSG(playerid);
GiveCash(playerid, -price);
name = GetName(playerid);
new slot = GetNextPlayerVehSlot(playerid);
if(IsABoatModel(modelid))
{
ParkX = 310.3268;
ParkY = -1941.7601;
ParkZ = 1.3952;
}
if(IsAPlaneModel(modelid))
{
ParkX = 1943.5498;
ParkY = -2397.6553;
ParkZ = 13.5469;
}
if(IsAFarmerModel(modelid))
{
ParkX = -329.681;
ParkY = -1427.7;
ParkZ = 16.0862;
}
else
i cant find model of owned vehicles please help me with this
new price = GetVehiclePrice(modelid);
new Float:ParkX, Float:ParkY, Float:ParkZ;
new name[64];
if(GetCash(playerid) < price) return NoCashMSG(playerid);
GiveCash(playerid, -price);
name = GetName(playerid);
new slot = GetNextPlayerVehSlot(playerid);
if(IsABoatModel(modelid))
{
ParkX = 310.3268;
ParkY = -1941.7601;
ParkZ = 1.3952;
}
if(IsAPlaneModel(modelid))
{
ParkX = 1943.5498;
ParkY = -2397.6553;
ParkZ = 13.5469;
}
if(IsAFarmerModel(modelid))
{
ParkX = -329.681;
ParkY = -1427.7;
ParkZ = 16.0862;
}
else
i cant find model of owned vehicles please help me with this