CMD:j(playerid, params[])
{
new beirtJarmu,
lerakottJarmu,
Float:X,
Float:Y,
Float:Z,
Float:F;
if(sscanf(params, "d", beirtJarmu)) return SendClientMessage(playerid, Piros, "Hasznбlat: /j [JбrműSzбm]");
{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, F);
lerakottJarmu = CreateVehicle(beirtJarmu, X, Y, Z, F, 0, 0, -1);
PutPlayerInVehicle(playerid, lerakottJarmu, 0);
}
return 1;
}