All pastes #187856 Raw Edit

Something

public text v1 · immutable
·published 2006-10-01 15:23 UTC
rendered paste body
new Float:Vehicle[VEHICLE_GET][3] = {
	{1383.6959, 1042.2114, 10.4121},
	{1064.2332, 1215.4158, 10.4157},
	{1111.4536, 1788.3893, 10.4158},
	{1439.5662, 1999.9822, 10.5843},
	{2156.3540, 2188.6572, 10.2414},
	{2256.2891, 2458.5110, 10.5680},
	{2251.6921, 2477.0205, 10.5671},
	{2290.7268, 2441.3323, 10.3944},
	{2295.5503, 2455.9656, 2.8444},
	{2580.5320, 2267.9595, 10.3917},
	{2827.4143, 2345.6953, 10.5768},
	{1670.1089, 1297.8322, 10.3864}
};

//---------------------------------------------------
and then the following thing......
//---------------------------------------------------
if(strcmp(cmd, "/Getcar", true) == 0) {
      new listid = random(VEHICLE_GET);
      new Float:X,Float:Y,Float:Z;
      X = Vehicle[listid][0];
      Y = Vehicle[listid][1];
      Z = Vehicle[listid][2];
      SetPlayerPos(playerid, X, Y, Z + 2);
      return 1;
}