[Help] CarShop System (VehicleCoast Is not working)
#1

Init
//CARSHOP FUNCTIONS AND CONFIGURATION?
CreateCarshopGlobalTD();
CreateCarshopCar(522,-395.9633,1264.1262,6.7897,184.2291, 11000); //Vehice id, Cords and coast (11000)
Код:
/* CARSHOP SYSTEM */
stock CreateCarshopCar(modelid, Float:carsX, Float:carsY, Float:carsZ, Float:carsA, price)
{
	CarshopCars++;
	CarShop_I[CarshopCars][carshopID] = CarshopCars;
	CarShop_I[CarshopCars][carshopModel] = modelid;
	CarShop_I[CarshopCars][carshopPrice] = price;
	CarShop_I[CarshopCars][carshopVehicle] = CreateVehicle(modelid, carsX, carsY, carsZ, carsA, -1, -1, 100);
	printf("ID- %d CARSHOPVEHICLE", CarShop_I[CarshopCars][carshopVehicle]);
	return 1;
}
///////////////////
stock SetCarshopCarPriceForTD(playerid, carshopvalue)
{
	new scscpft[32];
	format(scscpft, sizeof(scscpft), "%d$", carshopvalue);
	PlayerTextDrawSetString(playerid, CarshopPTD[playerid][1], scscpft);
}
Reply


Messages In This Thread
[Help] CarShop System (VehicleCoast Is not working) - by Fletcher007 - 16.12.2017, 16:19
Re: [Help] CarShop System (VehicleCoast Is not working) - by RogueDrifter - 16.12.2017, 18:38
Re: [Help] CarShop System (VehicleCoast Is not working) - by Fletcher007 - 16.12.2017, 19:00
Re: [Help] CarShop System (VehicleCoast Is not working) - by AlexMSK - 16.12.2017, 19:03
Re: [Help] CarShop System (VehicleCoast Is not working) - by Fletcher007 - 16.12.2017, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)