Szerintem mûködik, próbáld ki.
new skinkocsi[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
skinkocsi[playerid] = AddStaticVehicle(model, x, y, z, fordulas, szin1, szin2);
return 1;
}
public OnPlayerSpawn(playerid)
{
DestroyVehicle(skinkocsi[playerid]);
return 1;
}
public OnPlayerDisconnect(playerid)
{
DestroyVehicle(skinkocsi[playerid]);
return 1;
}