[HELP]Problem with Positions car
#1

I use a system Car Ownership. I create a Command that the players saves the postions' car where he wants. But, when he saves the positions, the car appear in other positions. It appear in the street near the save positions.

the command is:
Код:
if(strcmp(cmd, "/estacionar", true) == 0)
  {
	  if(IsPlayerConnected(playerid))
	  {
			new Float:poswx, Float:poswy, Float:poswz;
			new Float:poswa, carx = GetPlayerVehicleID(playerid);
                   GetVehiclePos(carx, poswx, poswy, poswz);
                   GetVehicleZAngle(carx, poswa);
			CarInfo[PlayerInfo[playerid][pIdentificacao]-1][cNovaPos] = 1;
			CarInfo[PlayerInfo[playerid][pIdentificacao]-1][cLocationwx] = poswx;
			CarInfo[PlayerInfo[playerid][pIdentificacao]-1][cLocationwy] = poswy;
			CarInfo[PlayerInfo[playerid][pIdentificacao]-1][cLocationwz] = poswy;
			CarInfo[PlayerInfo[playerid][pIdentificacao]-1][cAnglew] = poswa;
			SaveCars();
			OnCarsUpdate();
			new string6[256];
		}
What Can I do??
Reply


Messages In This Thread
[HELP]Problem with Positions car - by linthebigs - 25.01.2010, 15:23
Re: [HELP]Problem with Positions car - by Luca Dimonte - 25.01.2010, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)