CNN Problem
#4

pawn Код:
dcmd_vehicle(playerid, params[])
{
  if(!strlen(params)) return SendClientMessage(playerid, COLOR, "/vehicle [id]");
  new v = strval(params);
  if(v < 400 || v > 611) return SendClientMessage(playerid, COLOR, "Invalid vehicleid");
  new Float:x, Float:y, Float:z, Float:az;
  GetPlayerPos(playerid, x, y, z);
  GetPlayerFacingAngle(playerid, az);
  x += (5.00 * floatsin(-a, degrees));
  y += (5.00* floatcos(-a, degrees));
  CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
CreateVehicle(v, x, y, z, a-90, -1, -1, -1);
  return 1;
}
Reply


Messages In This Thread
CNN Problem - by tbedy - 04.04.2011, 10:12
Re: CNN Problem - by Sascha - 04.04.2011, 12:44
Re: CNN Problem - by tbedy - 05.04.2011, 13:25
Re: CNN Problem - by Sascha - 05.04.2011, 13:27
Re: CNN Problem - by tbedy - 05.04.2011, 13:38
Re: CNN Problem - by tbedy - 05.04.2011, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)