Versuchs mal mit
ocmd:gotoveh(playerid,params[])
{
new ID, Float:vehpos[3];
if(sscanf(params, "d",ID)) return SendClientMessage(playerid,0x008080FF, "/gotoveh [vehicleid]");
if(IsPlayerAdmin(playerid))
{
GetVehiclePos(ID, vehpos[0], vehpos[1], vehpos[2]);
SetPlayerPos(playerid, vehpos[0], vehpos[1]-5, vehpos[2]);
}
else return SendClientMessage(playerid, 0x008080FF, "Nur für Admins");
return 1;
}