02.12.2012, 01:49
pawn Код:
CMD:veh(playerid, params[])
{
extract params -> a; else return SendClientMessage(playerid, -1, "USAGE: /veh [Vehicle ID]");
if(a < 400 || a > 611) return SendClientMessage(playerid, -1, "Maximum vehicle ID is 611, minimum is 400);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateVehicle(a, X, Y, Z, 0, 0, 0, 90000);
return 1;
}