vahicle help
#8

pawn Код:
enum eCars
{
    car_model,
    Float:car_x,
    Float:car_y,
    Float:car_z,
    Float:car_angle
}
new CarSpawns[7][eCars] = {
  {405,-2125.7424,658.0462,52.2988,93.9612},//carid 90
  {426,-2158.0222,657.3932,52.2775,272.8372},
  {445,-1926.3204,585.6179,34.9963,359.8303},
  {492,2229.2,-1170.2,25.7,86.9},
  {507,-2214.8047,-82.7890,35.0474,0.6476},
  {545,2217.0,-1157.2,25.7,269.8},
  {547,405.9748,-1264.3921,50.1237,24.2110},
And then in OnGameModeInit

pawn Код:
for(new cars; cars<sizeof(CarSpawns); cars++)
{
    AddStaticVehicle(CarSpawns[cars][0],CarSpawns[cars][1], CarSpawns[cars][2], CarSpawns[cars][3], CarSpawns[cars][4],-1,-1);
}
Reply


Messages In This Thread
vahicle help - by TouR - 21.01.2010, 19:35
Re: vahicle help - by Joe Staff - 21.01.2010, 19:40
Re: vahicle help - by TouR - 21.01.2010, 19:47
Re: vahicle help - by MadeMan - 21.01.2010, 19:55
Re: vahicle help - by TouR - 21.01.2010, 19:58
Re: vahicle help - by MadeMan - 21.01.2010, 19:59
Re: vahicle help - by TouR - 21.01.2010, 20:01
Re: vahicle help - by MadeMan - 21.01.2010, 20:06
Re: vahicle help - by TouR - 21.01.2010, 20:12
Re: vahicle help - by akis_tze - 21.01.2010, 20:13

Forum Jump:


Users browsing this thread: 6 Guest(s)